wok-6.x view pure-ftpd/receipt @ rev 5005
p*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 17:01:48 2010 +0100 (2010-02-28) |
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 }