wok diff proftpd-tls/receipt @ rev 24020

linld: fix iso9660/64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 06 18:15:05 2021 +0000 (2021-03-06)
parents
children 241fb98cab1c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/proftpd-tls/receipt	Sat Mar 06 18:15:05 2021 +0000
     1.3 @@ -0,0 +1,52 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="proftpd-tls"
     1.7 +VERSION="1.3.6d"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Highly configurable FTP server."
    1.10 +MAINTAINER="mojo@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.proftpd.org/"
    1.13 +
    1.14 +TARBALL="proftpd-$VERSION.tar.gz"
    1.15 +WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
    1.16 +
    1.17 +DEPENDS="openssl"
    1.18 +BUILD_DEPENDS="openssl-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure				   \
    1.24 +		--prefix=/usr			   \
    1.25 +		--sysconfdir=/etc		   \
    1.26 +		--localstatedir=/var/run	   \
    1.27 +		--mandir=/usr/share/man		   \
    1.28 +		--with-modules=mod_tls		   \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$DESTDIR install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/libexec
    1.38 +	mkdir -p $fs/etc/init.d
    1.39 +
    1.40 +	cp -a $install/usr/sbin		$fs/usr
    1.41 +	cp -a $install/usr/bin		$fs/usr
    1.42 +	cp -a $install/etc		$fs
    1.43 +	install -g root -o root -m 0755 $stuff/protocols \
    1.44 +		$fs/etc         
    1.45 +	install -g root -o root -m 0755 $stuff/proftpd \
    1.46 +		$fs/etc/init.d
    1.47 +}
    1.48 +
    1.49 +post_install()
    1.50 +{
    1.51 +	echo ""
    1.52 +	echo -e "\nTo start proftpd server you can run :\n"
    1.53 +	echo "/etc/init.d/proftpd start"
    1.54 +	echo -e "Or add proftpd to RUN_DAEMONS in /etc/rcS.conf\n"
    1.55 +}