wok-6.x annotate pure-ftpd/receipt @ rev 12138
Up: tazlito (4.5) - New GUI and fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 14 00:34:22 2012 +0100 (2012-03-14) |
parents | 981962641fe2 |
children | bf4a09ef1d2e |
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" |
erjo@755 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@755 | 9 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" |
erjo@755 | 10 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" |
erjo@2983 | 11 HANDBOOK_URL="http://www.pureftpd.org/project/pure-ftpd/doc" |
erjo@755 | 12 |
erjo@11635 | 13 DEPENDS="attr libcap libssl" |
erjo@11635 | 14 BUILD_DEPENDS="openssl-dev" |
erjo@11635 | 15 |
erjo@755 | 16 # Rules to configure and make the package. |
erjo@755 | 17 compile_rules() |
erjo@755 | 18 { |
erjo@755 | 19 cd $src |
erjo@11635 | 20 ./configure --prefix=/usr \ |
erjo@11635 | 21 --without-pam \ |
erjo@11635 | 22 --with-puredb \ |
erjo@11635 | 23 --with-extauth \ |
erjo@11635 | 24 $CONFIGURE_ARGS && make && make install |
erjo@755 | 25 } |
erjo@755 | 26 |
erjo@755 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@755 | 28 genpkg_rules() |
erjo@755 | 29 { |
erjo@755 | 30 mkdir -p $fs/usr $fs/etc/init.d |
erjo@755 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@755 | 32 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@11358 | 33 install -g root -o root -m 0755 $stuff/pure-ftpd $fs/etc/init.d |
erjo@755 | 34 } |
erjo@755 | 35 |
erjo@755 | 36 post_install() |
erjo@755 | 37 { |
erjo@755 | 38 echo "" |
erjo@755 | 39 echo -e "\nTo starts $PACKAGE server you can run :\n" |
slaxemulator@11358 | 40 echo "/etc/init.d/$PACKAGE start" |
slaxemulator@11358 | 41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
erjo@755 | 42 echo "" |
erjo@755 | 43 echo "You may install pure-ftpd-extras package to get pure-config.pl " |
erjo@755 | 44 echo " pure-config.py facilities." |
erjo@755 | 45 } |