wok view ppp-pam/receipt @ rev 3724

Update: xorg-libXtst (DEPENDS and BUILD_DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jul 21 16:59:26 2009 +0000 (2009-07-21)
parents
children b315a2103f94
line source
1 # SliTaz package receipt.
3 PACKAGE="ppp-pam"
4 VERSION="2.4.4"
5 CATEGORY="network"
6 SHORT_DESC="Implements the Point-to-Point Protocol (PPP) with PAM support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="ppp"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://ppp.samba.org/"
11 WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL"
12 DEPENDS="pam"
13 BUILD_DEPENDS="pam pam-dev"
14 CONFIG_FILES="/etc/ppp"
15 PROVIDE="ppp:pam"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg/usr install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 strip -s $fs/usr/sbin/*
35 strip -s $fs/usr/lib/pppd/$VERSION/*
36 # Config files.
37 mkdir -p $fs/etc/ppp/scripts
38 cp ../$SOURCE/stuff/README.scripts $fs/etc/ppp
39 cp -a $src/etc.ppp/* $fs/etc/ppp
40 # PPP scripts.
41 cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts
42 cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts
43 sed -i 's,ppp/ppp-on-dialer,ppp/script/ppp-on-dialer,' $fs/etc/ppp/scripts/ppp-on-dialer
44 cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts
45 cp -a $src/scripts/callback $fs/etc/ppp/scripts
46 cp -a $src/scripts/redialer $fs/etc/ppp/scripts
47 }