wok-stable view netatalk-pam/receipt @ rev 2197
Add libcap-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 14:30:03 2009 +0000 (2009-02-09) |
parents | e3a0a2a27697 |
children | f59fdcc72fb4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk-pam"
4 VERSION="2.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl libdb libcrypto"
9 BUILD_DEPENDS="db-dev libcrypto-dev"
10 SOURCE="netatalk"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://netatalk.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
15 PROVIDE="netatalk:pam"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 [ -f done.netatalk-2.0.3-newer-db.patch ] || \
22 patch -p1 < ../stuff/netatalk-2.0.3-newer-db.patch
23 touch done.netatalk-2.0.3-newer-db.patch
24 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/libexec $fs/usr
37 cp -a $_pkg/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 }