wok view ppp/receipt @ rev 419
get-skype: declare /usr/share/pixmaps/skype.png
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 12 21:32:51 2008 +0000 (2008-03-12) |
parents | cdac43c3f44f |
children | 942d5b5c8ec1 |
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 cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts
38 cp -a $src/scripts/callback $fs/etc/ppp/scripts
39 cp -a $src/scripts/redialer $fs/etc/ppp/scripts
40 }