wok-current view netatalk/receipt @ rev 2306
lighttpd: backup config files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 24 23:20:43 2009 +0100 (2009-02-24) |
parents | bd6010223726 |
children | 7d4197e5834d |
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"
9 BUILD_DEPENDS="db-dev libcrypto-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://netatalk.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 [ -f done.netatalk-2.0.3-newer-db.patch ] || \
20 patch -p1 < ../stuff/netatalk-2.0.3-newer-db.patch
21 touch done.netatalk-2.0.3-newer-db.patch
22 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/libexec $fs/usr
35 cp -a $_pkg/etc $fs
36 rm -f $fs/etc/netatalk/uams/*a
37 # Package all netatalk pkgs
38 for i in $(cd $WOK; ls -d netatalk-*)
39 do
40 tazwok genpkg $i
41 done
42 }
44 # Pre and post install commands for Tazpkg.
45 post_install()
46 {
47 cat <<EOF
48 ----
49 To start $PACKAGE server you can run :
51 /etc/init.d/$PACKAGE start
53 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
54 ----
55 EOF
56 }