wok view pure-ftpd-pam/receipt @ rev 23691
updated tcllib (1.19 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 06:38:55 2020 +0100 (2020-04-27) |
parents | 3f1b4d69cda0 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.49"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
11 SOURCE="pure-ftpd"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
15 PROVIDE="pure-ftpd:pam"
16 DEPENDS="attr libcap libssl pam"
17 BUILD_DEPENDS="openssl-dev pam pam-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --with-pam \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 mkdir -p $fs/etc/init.d
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd \
39 $fs/etc/init.d
40 }
42 post_install()
43 {
44 echo ""
45 echo -e "\nTo start $PACKAGE server you can run :\n"
46 echo "/etc/init.d/$PACKAGE start"
47 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
48 }