wok view pure-ftpd/receipt @ rev 24226
updated perl-io-tty (1.14 -> 1.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:52:39 2021 +0100 (2021-12-31) |
parents | 3f1b4d69cda0 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.49"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
10 HANDBOOK_URL="https://www.pureftpd.org/project/pure-ftpd/doc"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
15 DEPENDS="attr libcap libssl"
16 BUILD_DEPENDS="openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --without-pam \
24 --with-puredb \
25 --with-extauth \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 mkdir -p $fs/etc/init.d
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 install -g root -o root -m 0755 $stuff/pure-ftpd \
40 $fs/etc/init.d
41 }
43 post_install()
44 {
45 echo ""
46 echo -e "\nTo start $PACKAGE server you can run :\n"
47 echo "/etc/init.d/$PACKAGE start"
48 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
49 }