wok-next view pure-ftpd/receipt @ rev 17859
Add firmware-rtlnic
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Mar 25 02:43:47 2015 -0400 (2015-03-25) |
parents | 30dce14800a5 |
children | 9278a60d6895 |
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 LICENSE="BSD"
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"
12 HANDBOOK_URL="http://www.pureftpd.org/project/pure-ftpd/doc"
14 DEPENDS="attr libcap libssl"
15 BUILD_DEPENDS="openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --without-pam \
23 --with-puredb \
24 --with-extauth \
25 $CONFIGURE_ARGS && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc/init.d
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 install -g root -o root -m 0755 $stuff/pure-ftpd $fs/etc/init.d
35 }
37 post_install()
38 {
39 echo ""
40 echo -e "\nTo starts $PACKAGE server you can run :\n"
41 echo "/etc/init.d/$PACKAGE start"
42 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
43 echo ""
44 echo "You may install pure-ftpd-extras package to get pure-config.pl "
45 echo " pure-config.py facilities."
46 }