wok-6.x view pure-ftpd/receipt @ rev 1355
Fix: image?agick-dev typos.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 06 15:50:51 2008 +0200 (2008-09-06) |
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 }