wok-current annotate pure-ftpd/receipt @ rev 11358

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