wok annotate netatalk-pam/receipt @ rev 4194

netatalk*: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 16:37:17 2009 +0200 (2009-09-23)
parents 2c679ce49f4c
children 5b44af8c1257
rev   line source
pascal@2187 1 # SliTaz package receipt.
pascal@2187 2
pascal@2187 3 PACKAGE="netatalk-pam"
pascal@2187 4 VERSION="2.0.3"
pascal@2187 5 CATEGORY="system-tools"
pascal@2187 6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
pascal@2187 7 MAINTAINER="pascal.bellard@slitaz.org"
pankso@3429 8 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
pascal@2460 9 libwrap zlib pam"
pascal@2216 10 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev"
pascal@2187 11 SOURCE="netatalk"
pascal@2187 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2187 13 WEB_SITE="http://netatalk.sourceforge.net/"
pascal@2192 14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
pascal@2187 15 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
pascal@2187 16 PROVIDE="netatalk:pam"
pascal@2187 17
pascal@2187 18 # Rules to configure and make the package.
pascal@2187 19 compile_rules()
pascal@2187 20 {
pascal@2187 21 cd $src
pascal@2187 22 [ -f done.netatalk-2.0.3-newer-db.patch ] || \
pascal@2287 23 patch -p1 < ../../$SOURCE/stuff/netatalk-2.0.3-newer-db.patch
pascal@2187 24 touch done.netatalk-2.0.3-newer-db.patch
pascal@2187 25 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
pascal@4194 26 --libexecdir=/usr/lib/netatalk \
pascal@2187 27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2187 28 make &&
pascal@2187 29 make DESTDIR=$PWD/_pkg install
pascal@2187 30 }
pascal@2187 31
pascal@2187 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2187 33 genpkg_rules()
pascal@2187 34 {
pascal@4194 35 mkdir -p $fs/usr/share $fs/usr/lib
pascal@2187 36 cp -a $_pkg/usr/bin $fs/usr
pascal@2187 37 cp -a $_pkg/usr/sbin $fs/usr
pascal@4194 38 cp -a $_pkg/usr/lib/netatalk $fs/usr/lib
pascal@2187 39 cp -a $_pkg/etc $fs
pascal@2239 40 cp -a stuff/etc $fs
pascal@2187 41 rm -f $fs/etc/netatalk/uams/*a
pascal@2187 42 }
pascal@2187 43
pascal@2187 44 # Pre and post install commands for Tazpkg.
pascal@2187 45 post_install()
pascal@2187 46 {
pascal@2187 47 cat <<EOF
pascal@2187 48 ----
pascal@2187 49 To start $PACKAGE server you can run :
pascal@2187 50
pascal@2187 51 /etc/init.d/$PACKAGE start
pascal@2187 52
pascal@2187 53 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
pascal@2187 54 ----
pascal@2187 55 EOF
pascal@2187 56 }