wok-6.x annotate pure-ftpd-pam/receipt @ rev 6217

Up: gtksourceview, gtksourceview-dev to 2.10.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 17:08:01 2010 +0000 (2010-09-11)
parents 6beec4c5353b
children 18a6a2293fee
rev   line source
pascal@2189 1 # SliTaz package receipt.
pascal@2189 2
pascal@2189 3 PACKAGE="pure-ftpd-pam"
erjo@4691 4 VERSION="1.0.27"
pascal@2189 5 CATEGORY="network"
pascal@2189 6 SHORT_DESC="A secure FTP daemon using PAM"
pascal@2189 7 MAINTAINER="erjo@slitaz.org"
pascal@5005 8 DEPENDS="pam attr libcap"
pascal@2189 9 BUILD_DEPENDS="pam pam-dev"
pascal@2189 10 SOURCE="pure-ftpd"
pascal@2189 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2189 12 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
pascal@2189 13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
pascal@2189 14 PROVIDE="pure-ftpd:pam"
pascal@2189 15
pascal@2189 16 # Rules to configure and make the package.
pascal@2189 17 compile_rules()
pascal@2189 18 {
pascal@2189 19 cd $src
pascal@2189 20 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
pascal@2189 21 make &&
pascal@2189 22 make DESTDIR=$PWD/_pkg install
pascal@2189 23 }
pascal@2189 24
pascal@2189 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2189 26 genpkg_rules()
pascal@2189 27 {
pascal@2189 28 mkdir -p $fs/usr $fs/etc/init.d
pascal@2189 29 cp -a $_pkg/usr/bin $fs/usr
pascal@2189 30 cp -a $_pkg/usr/sbin $fs/usr
pascal@2287 31 install -g root -o root -m 0755 ../$SOURCE/stuff/pure-ftpd $fs/etc/init.d
pascal@2189 32 }
pascal@2189 33
pascal@2189 34 post_install()
pascal@2189 35 {
pascal@2189 36 echo ""
pascal@2189 37 echo -e "\nTo starts $PACKAGE server you can run :\n"
pascal@2189 38 echo "/etc/init.d/$PACKAGE start"
pascal@2189 39 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
pascal@2189 40 echo ""
pascal@2189 41 echo "You may install pure-ftpd-extras package to get pure-config.pl "
pascal@2189 42 echo " pure-config.py facilities."
pascal@2189 43
pascal@2189 44 }