wok-next annotate pure-ftpd/receipt @ rev 20113

Add some bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 09:29:31 2017 +0100 (2017-10-30)
parents bf4a09ef1d2e
children 3d64683c6590
rev   line source
al@19741 1 # SliTaz package receipt v2.
erjo@755 2
erjo@755 3 PACKAGE="pure-ftpd"
al@19741 4 VERSION="1.0.46"
pascal@1423 5 CATEGORY="network"
erjo@755 6 SHORT_DESC="A secure FTP daemon"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15376 8 LICENSE="BSD"
al@19741 9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
al@19741 10 CONFIG_FILES="/etc/pure-ftpd.conf"
al@19741 11 SIBLINGS="pure-ftpd-pam"
al@19741 12
al@19741 13 TARBALL="pure-ftpd-$VERSION.tar.bz2"
al@19741 14 WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
erjo@755 15
erjo@11635 16 DEPENDS="attr libcap libssl"
erjo@11635 17 BUILD_DEPENDS="openssl-dev"
erjo@11635 18
erjo@755 19 # Rules to configure and make the package.
erjo@755 20 compile_rules()
erjo@755 21 {
al@19741 22 ./configure \
erjo@11635 23 --without-pam \
erjo@11635 24 --with-puredb \
erjo@11635 25 --with-extauth \
al@19741 26 $CONFIGURE_ARGS &&
al@19741 27 make && make install
al@19741 28
al@19741 29 # daemon
al@19741 30 mkdir -p $install/etc/init.d
al@19741 31 install -groot -oroot -m0755 $stuff/pure-ftpd $install/etc/init.d
erjo@755 32 }
erjo@755 33
erjo@755 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@755 35 genpkg_rules()
erjo@755 36 {
al@19741 37 copy @std
erjo@755 38 }