wok-current view pure-ftpd-pam/receipt @ rev 3461

mirror-tools/search.cgi: add receipt object
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 16 09:22:41 2009 +0200 (2009-06-16)
parents 22ab8eb50d81
children ca3145aa3f16
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.22"
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 }