wok-6.x view pure-ftpd-pam/receipt @ rev 16471
gstreamer-1.0: update i?86 bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 22 06:52:14 2014 +0000 (2014-04-22) |
parents | 981962641fe2 |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.35"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="pure-ftpd"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
12 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
13 PROVIDE="pure-ftpd:pam"
15 DEPENDS="pam attr libcap"
16 BUILD_DEPENDS="pam pam-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/init.d
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d
34 }
36 post_install()
37 {
38 echo ""
39 echo -e "\nTo starts $PACKAGE server you can run :\n"
40 echo "/etc/init.d/$PACKAGE start"
41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
42 echo ""
43 echo "You may install pure-ftpd-extras package to get pure-config.pl "
44 echo " pure-config.py facilities."
45 }