wok-next view ppp/receipt @ rev 1631
kbd-busybox: can't build on virtual systems !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 20:31:20 2008 +0000 (2008-10-23) |
parents | 00b8d39101ac |
children | 4da89e6150fe |
line source
1 # SliTaz package receipt.
3 PACKAGE="ppp"
4 VERSION="2.4.4"
5 CATEGORY="network"
6 SHORT_DESC="Implements the Point-to-Point Protocol (PPP)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ppp.samba.org/"
10 WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --mandir=/usr/share/man \
17 $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg/usr install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/sbin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 strip -s $fs/usr/sbin/*
29 strip -s $fs/usr/lib/pppd/$VERSION/*
30 # Config files.
31 mkdir -p $fs/etc/ppp/scripts
32 cp stuff/README.scripts $fs/etc/ppp
33 cp -a $src/etc.ppp/* $fs/etc/ppp
34 # PPP scripts.
35 cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts
36 cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts
37 sed -i 's,ppp/ppp-on-dialer,ppp/script/ppp-on-dialer,' $fs/etc/ppp/scripts/ppp-on-dialer
38 cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts
39 cp -a $src/scripts/callback $fs/etc/ppp/scripts
40 cp -a $src/scripts/redialer $fs/etc/ppp/scripts
41 }