wok-current view netatalk-pam/receipt @ rev 3402
fluxbox: remove dep on libiconv + add TAGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 15:11:35 2009 +0200 (2009-06-12) |
parents | 22ab8eb50d81 |
children | 2c679ce49f4c |
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 cups gnutls libgcrypt libgpg-error libiconv \
9 libwrap zlib pam"
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 [ -f done.netatalk-2.0.3-newer-db.patch ] || \
23 patch -p1 < ../../$SOURCE/stuff/netatalk-2.0.3-newer-db.patch
24 touch done.netatalk-2.0.3-newer-db.patch
25 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/libexec $fs/usr
38 cp -a $_pkg/etc $fs
39 cp -a stuff/etc $fs
40 rm -f $fs/etc/netatalk/uams/*a
41 }
43 # Pre and post install commands for Tazpkg.
44 post_install()
45 {
46 cat <<EOF
47 ----
48 To start $PACKAGE server you can run :
50 /etc/init.d/$PACKAGE start
52 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
53 ----
54 EOF
55 }