wok view netatalk/receipt @ rev 16245
grisbi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 09:22:13 2014 +0000 (2014-04-03) |
parents | 4d760951690d |
children | afae00265386 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://netatalk.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
14 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
15 libwrap zlib libcomerr3"
16 BUILD_DEPENDS="db-dev libcrypto-dev file"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 #sed -i -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \
23 # -e 's/pam_so =/pam_so_x =/' configure.in
24 ./configure --without-pam --prefix=/usr --sysconfdir=/etc \
25 --libexecdir=/usr/lib/netatalk \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 #cp -a $install/usr/lib/netatalk $fs/usr/lib
38 cp -a $install/etc $fs
39 cp -a $stuff/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 }