wok-current view pure-ftpd/receipt @ rev 14243

lirc: remove incompatible drivers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 10:06:31 2013 +0100 (2013-03-23)
parents 981962641fe2
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.35"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
10 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
11 HANDBOOK_URL="http://www.pureftpd.org/project/pure-ftpd/doc"
13 DEPENDS="attr libcap libssl"
14 BUILD_DEPENDS="openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --without-pam \
22 --with-puredb \
23 --with-extauth \
24 $CONFIGURE_ARGS && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/init.d
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 install -g root -o root -m 0755 $stuff/pure-ftpd $fs/etc/init.d
34 }
36 post_install()
37 {
38 echo ""
39 echo -e "\nTo starts $PACKAGE server you can run :\n"
40 echo "/etc/init.d/$PACKAGE start"
41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
42 echo ""
43 echo "You may install pure-ftpd-extras package to get pure-config.pl "
44 echo " pure-config.py facilities."
45 }