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

gnumeric: update bdeps
author Richard Dunbar <mojo@slitaz.org>
date Thu Feb 23 23:31:17 2012 +0000 (2012-02-23)
parents 981962641fe2
children
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 }