wok-4.x view pure-ftpd-pam/receipt @ rev 2884

Add Gnomad2 (GTK+ music manager for Crative Nomad jukebox)
author Theophile Rascagneres <keupont@no-log.org>
date Mon May 04 17:25:15 2009 +0000 (2009-05-04)
parents 938072585546
children 45b5fc4db4d0
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.21"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="pam"
9 BUILD_DEPENDS="pam pam-dev"
10 SOURCE="pure-ftpd"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
14 PROVIDE="pure-ftpd:pam"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/init.d
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 install -g root -o root -m 0755 ../$SOURCE/stuff/pure-ftpd $fs/etc/init.d
32 }
34 post_install()
35 {
36 echo ""
37 echo -e "\nTo starts $PACKAGE server you can run :\n"
38 echo "/etc/init.d/$PACKAGE start"
39 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
40 echo ""
41 echo "You may install pure-ftpd-extras package to get pure-config.pl "
42 echo " pure-config.py facilities."
44 }