wok-4.x view pure-ftpd/receipt @ rev 2426

x11vnc: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 11 11:39:38 2009 +0000 (2009-03-11)
parents 03a799424aaa
children 3a9e51f35fa9
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 --without-pam $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 }