wok view pure-ftpd/receipt @ rev 1344

Upd: testdisk from 6.9 to 6.10
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 04 21:19:56 2008 +0200 (2008-09-04)
parents fab97211d72f
children 03a799424aaa
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.21"
5 CATEGORY="networking"
6 SHORT_DESC="A secure FTP daemon"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/etc/init.d
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d
29 }
31 post_install()
32 {
33 echo ""
34 echo -e "\nTo starts $PACKAGE server you can run :\n"
35 echo "/etc/init.d/$PACKAGE start"
36 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
37 echo ""
38 echo "You may install pure-ftpd-extras package to get pure-config.pl "
39 echo " pure-config.py facilities."
41 }