wok view ppp-pam/receipt @ rev 20476
iftopcolor: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 17 14:36:19 2018 +0300 (2018-10-17) |
parents | 44b43b66e908 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ppp-pam"
4 VERSION="2.4.7"
5 CATEGORY="network"
6 SHORT_DESC="Implements the Point-to-Point Protocol (PPP) with PAM support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL"
9 SOURCE="ppp"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://ppp.samba.org/"
12 WGET_URL="https://github.com/paulusmack/ppp/archive/$TARBALL"
13 CONFIG_FILES="/etc/ppp/options /etc/ppp/*secrets"
15 DEPENDS="pam"
16 BUILD_DEPENDS="wget pam pam-dev"
17 PROVIDE="ppp:pam"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux
23 ./configure --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR/usr install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 [ -d "$install/usr/lib" ] && cp -a $install/usr/lib $fs/usr
35 }
37 pre_remove()
38 {
39 tazpkg get-install ${PACKAGE%-pam}
40 }