wok annotate pure-ftpd-pam/receipt @ rev 13217
Add TiMidity++ (libao 1.1.0)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Aug 11 16:11:48 2012 +0000 (2012-08-11) |
parents | 7b13b3b4b836 |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@2189 | 1 # SliTaz package receipt. |
pascal@2189 | 2 |
pascal@2189 | 3 PACKAGE="pure-ftpd-pam" |
slaxemulator@11358 | 4 VERSION="1.0.35" |
pascal@2189 | 5 CATEGORY="network" |
pascal@2189 | 6 SHORT_DESC="A secure FTP daemon using PAM" |
pascal@2189 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5005 | 8 DEPENDS="pam attr libcap" |
pascal@2189 | 9 BUILD_DEPENDS="pam pam-dev" |
pascal@2189 | 10 SOURCE="pure-ftpd" |
pascal@2189 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@2189 | 12 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" |
pascal@2189 | 13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" |
pascal@2189 | 14 PROVIDE="pure-ftpd:pam" |
pascal@2189 | 15 |
pascal@2189 | 16 # Rules to configure and make the package. |
pascal@2189 | 17 compile_rules() |
pascal@2189 | 18 { |
pascal@2189 | 19 cd $src |
pascal@2189 | 20 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS && |
pascal@2189 | 21 make && |
slaxemulator@11358 | 22 make DESTDIR=$DESTDIR install |
pascal@2189 | 23 } |
pascal@2189 | 24 |
pascal@2189 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2189 | 26 genpkg_rules() |
pascal@2189 | 27 { |
pascal@2189 | 28 mkdir -p $fs/usr $fs/etc/init.d |
pascal@2189 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@2189 | 30 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@11358 | 31 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d |
pascal@2189 | 32 } |
pascal@2189 | 33 |
pascal@2189 | 34 post_install() |
pascal@2189 | 35 { |
pascal@2189 | 36 echo "" |
pascal@2189 | 37 echo -e "\nTo starts $PACKAGE server you can run :\n" |
slaxemulator@11358 | 38 echo "/etc/init.d/$PACKAGE start" |
slaxemulator@11358 | 39 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
pascal@2189 | 40 echo "" |
pascal@2189 | 41 echo "You may install pure-ftpd-extras package to get pure-config.pl " |
pascal@2189 | 42 echo " pure-config.py facilities." |
pascal@2189 | 43 } |