wok-stable view netatalk/receipt @ rev 2460
ncmpc, net6, netatalk*, newt, nmap, ntfsprogs, ntop, ntp: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 14:52:47 2009 +0000 (2009-03-14) |
parents | e3a0a2a27697 |
children | ca605c3d0d55 |
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk"
4 VERSION="2.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="The AppleTalk Protocol Suite."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error libiconv \
9 libwrap zlib"
10 BUILD_DEPENDS="db-dev libcrypto-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://netatalk.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 [ -f done.netatalk-2.0.3-newer-db.patch ] || \
21 patch -p1 < ../stuff/netatalk-2.0.3-newer-db.patch
22 touch done.netatalk-2.0.3-newer-db.patch
23 ./configure --without-pam --prefix=/usr --sysconfdir=/etc \
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
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/libexec $fs/usr
36 cp -a $_pkg/etc $fs
37 rm -f $fs/etc/netatalk/uams/*a
38 # Package all netatalk pkgs
39 for i in $(cd $WOK; ls -d netatalk-*)
40 do
41 tazwok genpkg $i
42 done
43 }
45 # Pre and post install commands for Tazpkg.
46 post_install()
47 {
48 cat <<EOF
49 ----
50 To start $PACKAGE server you can run :
52 /etc/init.d/$PACKAGE start
54 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
55 ----
56 EOF
57 }