wok-6.x view pure-ftpd/receipt @ rev 21762

Up busybox (1.31.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 27 13:32:09 2019 +0200 (2019-06-27)
parents 6135577f4d08
children db5ff6244742
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.48"
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="https://www.pureftpd.org/project/pure-ftpd"
11 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
12 HANDBOOK_URL="https://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 ./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 $install/usr/bin $fs/usr
32 cp -a $install/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 }