wok-6.x annotate netatalk-pam/receipt @ rev 20764

syslinux/iso2exe/init: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 13 11:08:54 2019 +0100 (2019-02-13)
parents a2e2f54c8e28
children afae00265386
rev   line source
pascal@2187 1 # SliTaz package receipt.
pascal@2187 2
pascal@2187 3 PACKAGE="netatalk-pam"
pascal@13275 4 VERSION="2.2.3"
pascal@2187 5 CATEGORY="system-tools"
pascal@2187 6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
pascal@2187 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@2187 9 SOURCE="netatalk"
pascal@2187 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2187 11 WEB_SITE="http://netatalk.sourceforge.net/"
pascal@2192 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
pascal@2187 13 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
pascal@2187 14 PROVIDE="netatalk:pam"
pascal@2187 15
pascal@15000 16 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
pascal@15000 17 libwrap zlib pam libcomerr3"
pascal@15030 18 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev file"
pascal@15000 19
pascal@2187 20 # Rules to configure and make the package.
pascal@2187 21 compile_rules()
pascal@2187 22 {
pascal@2187 23 cd $src
pascal@2187 24 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
pascal@4194 25 --libexecdir=/usr/lib/netatalk \
pascal@2187 26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2187 27 make &&
pascal@13275 28 make DESTDIR=$DESTDIR install
pascal@2187 29 }
pascal@2187 30
pascal@2187 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2187 32 genpkg_rules()
pascal@2187 33 {
pascal@4194 34 mkdir -p $fs/usr/share $fs/usr/lib
pascal@13275 35 cp -a $install/usr/bin $fs/usr
pascal@13275 36 cp -a $install/usr/sbin $fs/usr
pascal@15027 37 #cp -a $install/usr/lib/netatalk $fs/usr/lib
pascal@13275 38 cp -a $install/etc $fs
pascal@13275 39 cp -a $stuff/etc $fs
pascal@2187 40 rm -f $fs/etc/netatalk/uams/*a
pascal@2187 41 }
pascal@2187 42
pascal@2187 43 # Pre and post install commands for Tazpkg.
pascal@2187 44 post_install()
pascal@2187 45 {
pascal@2187 46 cat <<EOF
pascal@2187 47 ----
pascal@2187 48 To start $PACKAGE server you can run :
pascal@2187 49
pascal@2187 50 /etc/init.d/$PACKAGE start
pascal@2187 51
pascal@2187 52 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
pascal@2187 53 ----
pascal@2187 54 EOF
pascal@2187 55 }
pascal@8878 56
pascal@8878 57 # Overlap busybox
pascal@8878 58 pre_install()
pascal@8878 59 {
pascal@18730 60 rm -f "$1/usr/bin/timeout"
pascal@8878 61 }
pascal@8878 62
pascal@8878 63 post_remove()
pascal@8878 64 {
pascal@18730 65 ln -s /bin/busybox "$1/usr/bin/timeout"
pascal@8878 66 }