wok annotate pure-ftpd/receipt @ rev 23458
updated pycairo and pycairo-dev (1.10.0 -> 1.18.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 04 16:56:25 2020 +0100 (2020-04-04) |
parents | 3f1b4d69cda0 |
children | 241fb98cab1c |
rev | line source |
---|---|
erjo@755 | 1 # SliTaz package receipt. |
erjo@755 | 2 |
erjo@755 | 3 PACKAGE="pure-ftpd" |
Hans-G?nter@23456 | 4 VERSION="1.0.49" |
pascal@1423 | 5 CATEGORY="network" |
Hans-G?nter@23456 | 6 SHORT_DESC="A secure FTP daemon." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15376 | 8 LICENSE="BSD" |
Hans-G?nter@23456 | 9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd" |
Hans-G?nter@23456 | 10 HANDBOOK_URL="https://www.pureftpd.org/project/pure-ftpd/doc" |
Hans-G?nter@23456 | 11 |
erjo@755 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@755 | 13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" |
erjo@755 | 14 |
erjo@11635 | 15 DEPENDS="attr libcap libssl" |
erjo@11635 | 16 BUILD_DEPENDS="openssl-dev" |
erjo@11635 | 17 |
erjo@755 | 18 # Rules to configure and make the package. |
erjo@755 | 19 compile_rules() |
erjo@755 | 20 { |
Hans-G?nter@23456 | 21 ./configure \ |
Hans-G?nter@23456 | 22 --prefix=/usr \ |
Hans-G?nter@23456 | 23 --without-pam \ |
Hans-G?nter@23456 | 24 --with-puredb \ |
Hans-G?nter@23456 | 25 --with-extauth \ |
Hans-G?nter@23456 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@23456 | 27 make && |
Hans-G?nter@23456 | 28 make install |
erjo@755 | 29 } |
erjo@755 | 30 |
erjo@755 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@755 | 32 genpkg_rules() |
erjo@755 | 33 { |
Hans-G?nter@23456 | 34 mkdir -p $fs/usr |
Hans-G?nter@23456 | 35 mkdir -p $fs/etc/init.d |
Hans-G?nter@23456 | 36 |
Hans-G?nter@23456 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23456 | 38 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23456 | 39 install -g root -o root -m 0755 $stuff/pure-ftpd \ |
Hans-G?nter@23456 | 40 $fs/etc/init.d |
erjo@755 | 41 } |
erjo@755 | 42 |
erjo@755 | 43 post_install() |
erjo@755 | 44 { |
erjo@755 | 45 echo "" |
Hans-G?nter@23456 | 46 echo -e "\nTo start $PACKAGE server you can run :\n" |
slaxemulator@11358 | 47 echo "/etc/init.d/$PACKAGE start" |
slaxemulator@11358 | 48 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
erjo@755 | 49 } |