wok view netatalk/receipt @ rev 7299

Fixed linux receipt to not soft link to WOK/aufs/aufs-VERSION since it will cause problems with building.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 17 02:05:01 2010 +0000 (2010-11-17)
parents 54fb6ed9d8bb
children 46c7fcbd34f1
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 \
9 libwrap zlib libcomerr3"
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 sed -i -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \
24 -e 's/pam_so =/pam_so_x =/' configure.in
25 ./configure --without-pam --prefix=/usr --sysconfdir=/etc \
26 --libexecdir=/usr/lib/netatalk \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/netatalk $fs/usr/lib
39 cp -a $_pkg/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 }