wok view proftpd-tls/receipt @ rev 24031
updated dialog (1.3_20190211 -> 1.3_20210324)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 06 13:52:57 2021 +0100 (2021-04-06) |
parents | |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd-tls"
4 VERSION="1.3.6d"
5 CATEGORY="network"
6 SHORT_DESC="Highly configurable FTP server."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.proftpd.org/"
11 TARBALL="proftpd-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var/run \
24 --mandir=/usr/share/man \
25 --with-modules=mod_tls \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/libexec
35 mkdir -p $fs/etc/init.d
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/etc $fs
40 install -g root -o root -m 0755 $stuff/protocols \
41 $fs/etc
42 install -g root -o root -m 0755 $stuff/proftpd \
43 $fs/etc/init.d
44 }
46 post_install()
47 {
48 echo ""
49 echo -e "\nTo start proftpd server you can run :\n"
50 echo "/etc/init.d/proftpd start"
51 echo -e "Or add proftpd to RUN_DAEMONS in /etc/rcS.conf\n"
52 }