
Receipt for package "netatalk"
# SliTaz package receipt. PACKAGE="netatalk" VERSION="2.2.3" CATEGORY="system-tools" SHORT_DESC="The AppleTalk Protocol Suite." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://netatalk.sourceforge.io/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf" DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \ libwrap zlib libcomerr3" BUILD_DEPENDS="db-dev libcrypto-dev file" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src #sed -i -e 's/pam =/pam_x =/' -e 's/USE_PAM, 1,/USE_PAM, 0,/' \ # -e 's/pam_so =/pam_so_x =/' configure.in ./configure --without-pam --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/netatalk \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr #cp -a $install/usr/lib/netatalk $fs/usr/lib cp -a $install/etc $fs cp -a $stuff/etc $fs rm -f $fs/etc/netatalk/uams/*a } # Pre and post install commands for Tazpkg. post_install() { cat <<EOF ---- To start $PACKAGE server you can run : /etc/init.d/$PACKAGE start Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf ---- EOF }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)