wok view netatalk/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (9 months ago)
parents 4d760951690d
children
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 }