wok-6.x annotate netatalk-pam/receipt @ rev 13998
beaver: fix missing icon in lxpanel
author | ernia <monghitri@aruba.it> |
---|---|
date | Wed Feb 13 19:14:37 2013 +0100 (2013-02-13) |
parents | 2ad34d8fdfe7 |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@2187 | 1 # SliTaz package receipt. |
pascal@2187 | 2 |
pascal@2187 | 3 PACKAGE="netatalk-pam" |
pascal@13275 | 4 VERSION="2.2.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@5004 | 9 libwrap zlib pam libcomerr3" |
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 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \ |
pascal@4194 | 23 --libexecdir=/usr/lib/netatalk \ |
pascal@2187 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2187 | 25 make && |
pascal@13275 | 26 make DESTDIR=$DESTDIR install |
pascal@2187 | 27 } |
pascal@2187 | 28 |
pascal@2187 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2187 | 30 genpkg_rules() |
pascal@2187 | 31 { |
pascal@4194 | 32 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@13275 | 33 cp -a $install/usr/bin $fs/usr |
pascal@13275 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@13275 | 35 cp -a $install/usr/lib/netatalk $fs/usr/lib |
pascal@13275 | 36 cp -a $install/etc $fs |
pascal@13275 | 37 cp -a $stuff/etc $fs |
pascal@2187 | 38 rm -f $fs/etc/netatalk/uams/*a |
pascal@2187 | 39 } |
pascal@2187 | 40 |
pascal@2187 | 41 # Pre and post install commands for Tazpkg. |
pascal@2187 | 42 post_install() |
pascal@2187 | 43 { |
pascal@2187 | 44 cat <<EOF |
pascal@2187 | 45 ---- |
pascal@2187 | 46 To start $PACKAGE server you can run : |
pascal@2187 | 47 |
pascal@2187 | 48 /etc/init.d/$PACKAGE start |
pascal@2187 | 49 |
pascal@2187 | 50 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf |
pascal@2187 | 51 ---- |
pascal@2187 | 52 EOF |
pascal@2187 | 53 } |
pascal@8878 | 54 |
pascal@8878 | 55 # Overlap busybox |
pascal@8878 | 56 pre_install() |
pascal@8878 | 57 { |
pascal@8878 | 58 rm -f $1/usr/bin/timeout |
pascal@8878 | 59 } |
pascal@8878 | 60 |
pascal@8878 | 61 post_remove() |
pascal@8878 | 62 { |
pascal@8878 | 63 ln -s /bin/busybox /usr/bin/timeout |
pascal@8878 | 64 } |