wok-6.x rev 14768

Add proftpd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 29 11:36:25 2013 +0200 (2013-06-29)
parents 263740877e70
children bc462389cb84
files gadmintools/receipt proftpd-dev/receipt proftpd/receipt
line diff
     1.1 --- a/gadmintools/receipt	Sat Jun 29 11:15:25 2013 +0200
     1.2 +++ b/gadmintools/receipt	Sat Jun 29 11:36:25 2013 +0200
     1.3 @@ -10,5 +10,5 @@
     1.4  
     1.5  DEPENDS="gadmin-bind gadmin-openvpn-client gadmin-openvpn-server \
     1.6  gadmin-rsync gadmin-samba gadmin-squid gadmin-dhcpd gadmin-sshd gadmin-httpd \
     1.7 -gadmin-antivirus"
     1.8 -SUGGESTED="gadmin-proftpd gadmin-sendmail"
     1.9 +gadmin-antivirus gadmin-proftpd"
    1.10 +SUGGESTED="gadmin-sendmail"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/proftpd-dev/receipt	Sat Jun 29 11:36:25 2013 +0200
     2.3 @@ -0,0 +1,20 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="proftpd-dev"
     2.7 +VERSION="1.3.4d"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Highly configurable FTP server, development files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL"
    2.12 +WEB_SITE="http://www.proftpd.org/"
    2.13 +WANTED="proftpd"
    2.14 +
    2.15 +DEPENDS="proftpd"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib
    2.21 +	cp -a $install/usr/include $fs/usr
    2.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.23 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/proftpd/receipt	Sat Jun 29 11:36:25 2013 +0200
     3.3 @@ -0,0 +1,37 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="proftpd"
     3.7 +VERSION="1.3.4d"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Highly configurable FTP server."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.proftpd.org/"
    3.14 +WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
    3.15 +
    3.16 +DEPENDS=""
    3.17 +BUILD_DEPENDS=""
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	cd $src
    3.23 +	./configure --prefix=/usr \
    3.24 +		--sysconfdir=/etc \
    3.25 +		--localstatedir=/var \
    3.26 +		--mandir=/usr/share/man \
    3.27 +		$CONFIGURE_ARGS &&
    3.28 +	make &&
    3.29 +	make DESTDIR=$DESTDIR install
    3.30 +}
    3.31 +
    3.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.33 +genpkg_rules()
    3.34 +{
    3.35 +	mkdir -p $fs/usr/lib
    3.36 +	cp -a $install/usr/sbin $fs/usr
    3.37 +	cp -a $install/usr/bin $fs/usr
    3.38 +	cp -a $install/usr/lib/proftpd $fs/usr/lib
    3.39 +	cp -a $install/etc $fs
    3.40 +}