wok view pure-ftpd/receipt @ rev 8751

Removed all/most _pkg= lines in wok. The new tazwok-experimental can SOURCE paths and source are are all extracted to WOK/PACKAGE/PACKAGE-VERSION now with tazwok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 20 06:53:59 2011 +0000 (2011-02-20)
parents 6beec4c5353b
children 18a6a2293fee
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.27"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="attr libcap"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
11 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
12 HANDBOOK_URL="http://www.pureftpd.org/project/pure-ftpd/doc"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --without-pam $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/etc/init.d
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d
30 }
32 post_install()
33 {
34 echo ""
35 echo -e "\nTo starts $PACKAGE server you can run :\n"
36 echo "/etc/init.d/$PACKAGE start"
37 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
38 echo ""
39 echo "You may install pure-ftpd-extras package to get pure-config.pl "
40 echo " pure-config.py facilities."
42 }