wok-next view netatalk/receipt @ rev 13203

Up: bison (2.6.2)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 06 13:44:38 2012 +0200 (2012-08-06)
parents 46c7fcbd34f1
children de266016c07c
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk"
4 VERSION="2.2.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 sed -i -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \
21 -e 's/pam_so =/pam_so_x =/' configure.in
22 ./configure --without-pam --prefix=/usr --sysconfdir=/etc \
23 --libexecdir=/usr/lib/netatalk \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/netatalk $fs/usr/lib
36 cp -a $install/etc $fs
37 rm -f $fs/etc/netatalk/uams/*a
38 }
40 # Pre and post install commands for Tazpkg.
41 post_install()
42 {
43 cat <<EOF
44 ----
45 To start $PACKAGE server you can run :
47 /etc/init.d/$PACKAGE start
49 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
50 ----
51 EOF
52 }