wok-current view pure-ftpd/receipt @ rev 1669
Add perl-io-socket-ssl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:55:25 2008 +0000 (2008-11-08) |
parents | a075ff895254 |
children | 938072585546 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.21"
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"
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 }