wok view pure-ftpd-pam/receipt @ rev 7957

Up: mlt-python-bindings to 0.6.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jan 15 17:23:12 2011 +0000 (2011-01-15)
parents 6beec4c5353b
children 18a6a2293fee
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.27"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="pam attr libcap"
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 }