wok annotate pure-ftpd-pam/receipt @ rev 22073

updated uget (1.10.4 -> 2.2.1)
author Hans-G?nter Theisgen
date Fri Oct 25 16:35:21 2019 +0100 (2019-10-25)
parents 6135577f4d08
children db5ff6244742
rev   line source
pascal@2189 1 # SliTaz package receipt.
pascal@2189 2
pascal@2189 3 PACKAGE="pure-ftpd-pam"
pascal@21207 4 VERSION="1.0.48"
pascal@2189 5 CATEGORY="network"
pascal@2189 6 SHORT_DESC="A secure FTP daemon using PAM"
pascal@2189 7 MAINTAINER="erjo@slitaz.org"
pascal@15376 8 LICENSE="BSD"
pascal@2189 9 SOURCE="pure-ftpd"
pascal@2189 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@20679 11 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
pascal@2189 12 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
pascal@2189 13 PROVIDE="pure-ftpd:pam"
pascal@2189 14
pascal@21207 15 DEPENDS="pam attr libcap libssl"
pascal@21207 16 BUILD_DEPENDS="pam pam-dev openssl-dev"
pascal@15376 17
pascal@2189 18 # Rules to configure and make the package.
pascal@2189 19 compile_rules()
pascal@2189 20 {
pascal@2189 21 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
pascal@2189 22 make &&
slaxemulator@11358 23 make DESTDIR=$DESTDIR install
pascal@2189 24 }
pascal@2189 25
pascal@2189 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2189 27 genpkg_rules()
pascal@2189 28 {
pascal@2189 29 mkdir -p $fs/usr $fs/etc/init.d
pascal@15376 30 cp -a $install/usr/bin $fs/usr
pascal@15376 31 cp -a $install/usr/sbin $fs/usr
slaxemulator@11358 32 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d
pascal@2189 33 }
pascal@2189 34
pascal@2189 35 post_install()
pascal@2189 36 {
pascal@2189 37 echo ""
pascal@2189 38 echo -e "\nTo starts $PACKAGE server you can run :\n"
slaxemulator@11358 39 echo "/etc/init.d/$PACKAGE start"
slaxemulator@11358 40 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
pascal@2189 41 }