wok diff pure-ftpd/receipt @ rev 755
Add: b43-fwcutter, cabextract, unshield, pure-ftpd, pure-ftpd-extras. fix DEPNDS in ndiswrapper
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 07 01:14:00 2008 +0200 (2008-05-07) |
parents | |
children | a075ff895254 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pure-ftpd/receipt Wed May 07 01:14:00 2008 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pure-ftpd" 1.7 +VERSION="1.0.21" 1.8 +CATEGORY="networking" 1.9 +SHORT_DESC="A secure FTP daemon" 1.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" 1.14 +WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.21 + make 1.22 + make DESTDIR=$PWD/_pkg install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr $fs/etc/init.d 1.29 + cp -a $_pkg/usr/bin $fs/usr 1.30 + cp -a $_pkg/usr/sbin $fs/usr 1.31 + install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d 1.32 +} 1.33 + 1.34 +post_install() 1.35 +{ 1.36 + echo "" 1.37 + echo -e "\nTo starts $PACKAGE server you can run :\n" 1.38 + echo "/etc/init.d/$PACKAGE start" 1.39 + echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" 1.40 + echo "" 1.41 + echo "You may install pure-ftpd-extras package to get pure-config.pl " 1.42 + echo " pure-config.py facilities." 1.43 + 1.44 +}