wok-current view netatalk/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | a2e2f54c8e28 |
children | 7dd01dedad38 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 #sed -i -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \
31 # -e 's/pam_so =/pam_so_x =/' configure.in
32 ./configure --without-pam --prefix=/usr --sysconfdir=/etc \
33 --libexecdir=/usr/lib/netatalk \
34 --mandir=/usr/share/man $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 #cp -a $install/usr/lib/netatalk $fs/usr/lib
46 cp -a $install/etc $fs
47 cp -a $stuff/etc $fs
48 rm -f $fs/etc/netatalk/uams/*a
49 }
51 # Pre and post install commands for Tazpkg.
52 post_install()
53 {
54 cat <<EOF
55 ----
56 To start $PACKAGE server you can run :
58 /etc/init.d/$PACKAGE start
60 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
61 ----
62 EOF
63 }