wok-next view ppp-pam/receipt @ rev 19939

Replace s/libtool/libltdl/ in deps, libtool is build_dep.
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 15 18:18:17 2017 +0200 (2017-10-15)
parents e85c838301ad
children
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 WEB_SITE="http://ppp.samba.org/"
10 CONFIG_FILES="/etc/ppp/options /etc/ppp/*secrets"
11 PROVIDE="ppp:pam"
13 TARBALL="ppp-$VERSION.tar.gz"
14 WGET_URL="$GITHUB/paulusmack/ppp/tarball/ppp-$VERSION"
16 DEPENDS="pam"
17 BUILD_DEPENDS="pam-dev"
18 SIBLINGS="ppp"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux
25 ./configure $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 ppp
41 }