wok view netatalk-pam/receipt @ rev 2416
xorg-setxkbmap, xorg-xclock, xorg-xcursorgen, xorg-xkbcomp, xorg-xkill, xorg-xset: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 09:24:25 2009 +0000 (2009-03-11) |
parents | 36c2a37430ab |
children | 7d4197e5834d |
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 pam"
9 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-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 < ../../$SOURCE/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 cp -a stuff/etc $fs
39 rm -f $fs/etc/netatalk/uams/*a
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 cat <<EOF
46 ----
47 To start $PACKAGE server you can run :
49 /etc/init.d/$PACKAGE start
51 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
52 ----
53 EOF
54 }