wok annotate netatalk/receipt @ rev 24513

updated elfkickers (3.1 -> 3.2)
author Hans-G?nter Theisgen
date Mon Feb 21 10:48:33 2022 +0100 (2022-02-21)
parents a2e2f54c8e28
children 7dd01dedad38
rev   line source
pascal@1255 1 # SliTaz package receipt.
pascal@1255 2
pascal@1255 3 PACKAGE="netatalk"
slaxemulator@13002 4 VERSION="2.2.3"
pascal@1255 5 CATEGORY="system-tools"
pascal@1255 6 SHORT_DESC="The AppleTalk Protocol Suite."
pascal@1255 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@1255 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1255 10 WEB_SITE="http://netatalk.sourceforge.net/"
pascal@1255 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1255 12 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
pascal@1255 13
pascal@15000 14 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
pascal@15000 15 libwrap zlib libcomerr3"
pascal@15030 16 BUILD_DEPENDS="db-dev libcrypto-dev file"
pascal@15000 17
pascal@24402 18 # What is the latest version available today?
pascal@24402 19 current_version()
pascal@24402 20 {
pascal@24402 21 wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \
pascal@24402 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24402 23 sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q'
pascal@24402 24 }
pascal@24402 25
pascal@1255 26 # Rules to configure and make the package.
pascal@1255 27 compile_rules()
pascal@1255 28 {
pascal@1255 29 cd $src
pascal@15030 30 #sed -i -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \
pascal@15030 31 # -e 's/pam_so =/pam_so_x =/' configure.in
pascal@2460 32 ./configure --without-pam --prefix=/usr --sysconfdir=/etc \
pascal@4194 33 --libexecdir=/usr/lib/netatalk \
pascal@1466 34 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1466 35 make &&
slaxemulator@13002 36 make DESTDIR=$DESTDIR install
pascal@1255 37 }
pascal@1255 38
pascal@1255 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1255 40 genpkg_rules()
pascal@1255 41 {
pascal@4194 42 mkdir -p $fs/usr/share $fs/usr/lib
slaxemulator@13002 43 cp -a $install/usr/bin $fs/usr
slaxemulator@13002 44 cp -a $install/usr/sbin $fs/usr
pascal@15027 45 #cp -a $install/usr/lib/netatalk $fs/usr/lib
slaxemulator@13002 46 cp -a $install/etc $fs
pascal@13274 47 cp -a $stuff/etc $fs
pascal@1255 48 rm -f $fs/etc/netatalk/uams/*a
pascal@1255 49 }
pascal@1255 50
pascal@1255 51 # Pre and post install commands for Tazpkg.
pascal@1255 52 post_install()
pascal@1255 53 {
pascal@1255 54 cat <<EOF
pascal@1255 55 ----
pascal@1255 56 To start $PACKAGE server you can run :
pascal@1255 57
pascal@1255 58 /etc/init.d/$PACKAGE start
pascal@1255 59
pascal@1255 60 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
pascal@1255 61 ----
pascal@1255 62 EOF
pascal@1255 63 }