wok-next annotate pure-ftpd/receipt @ rev 1982
Add: urxvt
author | Pierre-Jean Fichet <sygne@ombres.eu> |
---|---|
date | Sun Jan 04 18:42:50 2009 +0100 (2009-01-04) |
parents | a075ff895254 |
children | 938072585546 |
rev | line source |
---|---|
erjo@755 | 1 # SliTaz package receipt. |
erjo@755 | 2 |
erjo@755 | 3 PACKAGE="pure-ftpd" |
erjo@755 | 4 VERSION="1.0.21" |
pascal@1423 | 5 CATEGORY="network" |
erjo@755 | 6 SHORT_DESC="A secure FTP daemon" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@755 | 8 DEPENDS="" |
erjo@755 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@755 | 10 WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" |
erjo@755 | 11 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" |
erjo@755 | 12 |
erjo@755 | 13 # Rules to configure and make the package. |
erjo@755 | 14 compile_rules() |
erjo@755 | 15 { |
erjo@755 | 16 cd $src |
erjo@755 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS |
erjo@755 | 18 make |
erjo@755 | 19 make DESTDIR=$PWD/_pkg install |
erjo@755 | 20 } |
erjo@755 | 21 |
erjo@755 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@755 | 23 genpkg_rules() |
erjo@755 | 24 { |
erjo@755 | 25 mkdir -p $fs/usr $fs/etc/init.d |
erjo@755 | 26 cp -a $_pkg/usr/bin $fs/usr |
erjo@755 | 27 cp -a $_pkg/usr/sbin $fs/usr |
erjo@755 | 28 install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d |
erjo@755 | 29 } |
erjo@755 | 30 |
erjo@755 | 31 post_install() |
erjo@755 | 32 { |
erjo@755 | 33 echo "" |
erjo@755 | 34 echo -e "\nTo starts $PACKAGE server you can run :\n" |
erjo@755 | 35 echo "/etc/init.d/$PACKAGE start" |
erjo@755 | 36 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
erjo@755 | 37 echo "" |
erjo@755 | 38 echo "You may install pure-ftpd-extras package to get pure-config.pl " |
erjo@755 | 39 echo " pure-config.py facilities." |
erjo@755 | 40 |
erjo@755 | 41 } |