wok-6.x annotate pure-ftpd-pam/receipt @ rev 15376
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 22:13:53 2013 +0000 (2013-10-18) |
parents | 981962641fe2 |
children | 6135577f4d08 |
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@15376 | 8 LICENSE="BSD" |
pascal@2189 | 9 SOURCE="pure-ftpd" |
pascal@2189 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@2189 | 11 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" |
pascal@2189 | 12 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" |
pascal@2189 | 13 PROVIDE="pure-ftpd:pam" |
pascal@2189 | 14 |
pascal@15376 | 15 DEPENDS="pam attr libcap" |
pascal@15376 | 16 BUILD_DEPENDS="pam pam-dev" |
pascal@15376 | 17 |
pascal@2189 | 18 # Rules to configure and make the package. |
pascal@2189 | 19 compile_rules() |
pascal@2189 | 20 { |
pascal@2189 | 21 cd $src |
pascal@2189 | 22 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS && |
pascal@2189 | 23 make && |
slaxemulator@11358 | 24 make DESTDIR=$DESTDIR install |
pascal@2189 | 25 } |
pascal@2189 | 26 |
pascal@2189 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2189 | 28 genpkg_rules() |
pascal@2189 | 29 { |
pascal@2189 | 30 mkdir -p $fs/usr $fs/etc/init.d |
pascal@15376 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15376 | 32 cp -a $install/usr/sbin $fs/usr |
slaxemulator@11358 | 33 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d |
pascal@2189 | 34 } |
pascal@2189 | 35 |
pascal@2189 | 36 post_install() |
pascal@2189 | 37 { |
pascal@2189 | 38 echo "" |
pascal@2189 | 39 echo -e "\nTo starts $PACKAGE server you can run :\n" |
slaxemulator@11358 | 40 echo "/etc/init.d/$PACKAGE start" |
slaxemulator@11358 | 41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
pascal@2189 | 42 echo "" |
pascal@2189 | 43 echo "You may install pure-ftpd-extras package to get pure-config.pl " |
pascal@2189 | 44 echo " pure-config.py facilities." |
pascal@2189 | 45 } |