wok-next view netatalk-pam/receipt @ rev 12621
exo: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 12:03:08 2012 +0200 (2012-04-29) |
parents | 084d54778a9d |
children | a4ff6ffd215b |
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk-pam"
4 VERSION="2.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
9 libwrap zlib pam libcomerr3"
10 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev"
11 SOURCE="netatalk"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://netatalk.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
16 PROVIDE="netatalk:pam"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
23 --libexecdir=/usr/lib/netatalk \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib/netatalk $fs/usr/lib
36 cp -a $_pkg/etc $fs
37 cp -a stuff/etc $fs
38 rm -f $fs/etc/netatalk/uams/*a
39 }
41 # Pre and post install commands for Tazpkg.
42 post_install()
43 {
44 cat <<EOF
45 ----
46 To start $PACKAGE server you can run :
48 /etc/init.d/$PACKAGE start
50 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
51 ----
52 EOF
53 }
55 # Overlap busybox
56 pre_install()
57 {
58 rm -f $1/usr/bin/timeout
59 }
61 post_remove()
62 {
63 ln -s /bin/busybox /usr/bin/timeout
64 }