wok view pure-ftpd-pam/receipt @ rev 21207

Up pure-ftpd (1.0.48)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 08 19:08:56 2019 +0200 (2019-04-08)
parents 6135577f4d08
children db5ff6244742
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.48"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="pure-ftpd"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
12 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
13 PROVIDE="pure-ftpd:pam"
15 DEPENDS="pam attr libcap libssl"
16 BUILD_DEPENDS="pam pam-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/etc/init.d
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d
33 }
35 post_install()
36 {
37 echo ""
38 echo -e "\nTo starts $PACKAGE server you can run :\n"
39 echo "/etc/init.d/$PACKAGE start"
40 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
41 }