wok-4.x diff pure-ftpd-pam/receipt @ rev 2279

mysql: add build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 19 10:56:32 2009 +0000 (2009-02-19)
parents
children 22ab8eb50d81
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pure-ftpd-pam/receipt	Thu Feb 19 10:56:32 2009 +0000
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pure-ftpd-pam"
     1.7 +VERSION="1.0.21"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A secure FTP daemon using PAM"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="pam"
    1.12 +BUILD_DEPENDS="pam pam-dev"
    1.13 +SOURCE="pure-ftpd"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
    1.16 +WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
    1.17 +PROVIDE="pure-ftpd:pam"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr $fs/etc/init.d
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/sbin $fs/usr
    1.34 +	install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d
    1.35 +}
    1.36 +
    1.37 +post_install()
    1.38 +{
    1.39 +	echo ""
    1.40 +	echo -e "\nTo starts $PACKAGE server you can run :\n"
    1.41 +    echo "/etc/init.d/$PACKAGE start"
    1.42 +    echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
    1.43 +	echo ""
    1.44 +	echo "You may install pure-ftpd-extras package to get pure-config.pl "
    1.45 +	echo " pure-config.py facilities."
    1.46 +	
    1.47 +}