wok-6.x view pure-ftpd/receipt @ rev 4212

orage: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 10:15:36 2009 +0200 (2009-09-24)
parents 3a9e51f35fa9
children ca3145aa3f16
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.22"
5 CATEGORY="network"
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"
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 }