wok-6.x view ppp-pam/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
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="https://ppp.samba.org/"
12 WGET_URL="https://github.com/paulusmack/ppp/archive/$TARBALL"
13 CONFIG_FILES="/etc/ppp/options"
14 SECRET_FILES="/etc/ppp/*secrets"
16 DEPENDS="pam"
17 BUILD_DEPENDS="wget pam pam-dev"
18 PROVIDE="ppp:pam"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux
24 ./configure --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR/usr install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 [ -d "$install/usr/lib" ] && cp -a $install/usr/lib $fs/usr
36 }
38 pre_remove()
39 {
40 tazpkg get-install ${PACKAGE%-pam}
41 }