wok annotate proftpd-tls/receipt @ rev 25169

updated python-cython (0.29.16 -> 0.29.30)
author Hans-G?nter Theisgen
date Fri Jul 01 15:27:05 2022 +0100 (23 months ago)
parents bc2b9d9bed6f
children 0262035dc1e7
rev   line source
mojo@23842 1 # SliTaz package receipt.
mojo@23842 2
mojo@23842 3 PACKAGE="proftpd-tls"
Hans-G?nter@25150 4 VERSION="1.3.7d"
mojo@23842 5 CATEGORY="network"
mojo@23842 6 SHORT_DESC="Highly configurable FTP server."
mojo@23842 7 MAINTAINER="mojo@slitaz.org"
mojo@23842 8 LICENSE="GPL2"
mojo@23842 9 WEB_SITE="http://www.proftpd.org/"
mojo@23842 10
mojo@23842 11 TARBALL="proftpd-$VERSION.tar.gz"
mojo@23842 12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
mojo@23842 13
mojo@23842 14 DEPENDS="openssl"
mojo@23842 15 BUILD_DEPENDS="openssl-dev"
mojo@23842 16
pascal@24453 17 # What is the latest version available today?
pascal@24453 18 current_version()
pascal@24453 19 {
pascal@24614 20 wget -O - https://github.com/proftpd/proftpd/releases 2>/dev/null | \
pascal@24614 21 sed '/archive.*tar/!d;/rc[0-9]/d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24453 22 }
pascal@24453 23
mojo@23842 24 # Rules to configure and make the package.
mojo@23842 25 compile_rules()
mojo@23842 26 {
Hans-G?nter@25150 27 ./configure \
Hans-G?nter@25150 28 --prefix=/usr \
Hans-G?nter@25150 29 --sysconfdir=/etc \
Hans-G?nter@25150 30 --localstatedir=/var/run \
Hans-G?nter@25150 31 --mandir=/usr/share/man \
Hans-G?nter@25150 32 --enable-nls \
Hans-G?nter@25150 33 --with-modules=mod_tls \
mojo@23842 34 $CONFIGURE_ARGS &&
mojo@23842 35 make &&
Hans-G?nter@25150 36 make install DESTDIR=$DESTDIR
mojo@23842 37 }
mojo@23842 38
mojo@23842 39 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@23842 40 genpkg_rules()
mojo@23842 41 {
mojo@23842 42 mkdir -p $fs/usr/libexec
mojo@23842 43 mkdir -p $fs/etc/init.d
mojo@23842 44
mojo@23842 45 cp -a $install/usr/sbin $fs/usr
mojo@23842 46 cp -a $install/usr/bin $fs/usr
mojo@23842 47 cp -a $install/etc $fs
mojo@23842 48 install -g root -o root -m 0755 $stuff/protocols \
Hans-G?nter@25150 49 $fs/etc
mojo@23842 50 install -g root -o root -m 0755 $stuff/proftpd \
Hans-G?nter@25150 51 $fs/etc/init.d
mojo@23842 52 }
mojo@23842 53
mojo@23842 54 post_install()
mojo@23842 55 {
mojo@23842 56 echo ""
mojo@23842 57 echo -e "\nTo start proftpd server you can run :\n"
mojo@23842 58 echo "/etc/init.d/proftpd start"
mojo@23842 59 echo -e "Or add proftpd to RUN_DAEMONS in /etc/rcS.conf\n"
mojo@23842 60 }