wok-stable annotate ppp/receipt @ rev 325
Desktop files for dialog anf gtkdialog
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 04 15:06:57 2008 +0100 (2008-03-04) |
parents | cdac43c3f44f |
children | 942d5b5c8ec1 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="ppp" |
pankso@6 | 4 VERSION="2.4.4" |
pankso@203 | 5 CATEGORY="network" |
pankso@6 | 6 SHORT_DESC="Implements the Point-to-Point Protocol (PPP)." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@6 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@6 | 9 WEB_SITE="http://ppp.samba.org/" |
pankso@6 | 10 WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL" |
pankso@6 | 11 |
pankso@6 | 12 # Rules to configure and make the package. |
pankso@6 | 13 compile_rules() |
pankso@6 | 14 { |
pankso@6 | 15 cd $src |
pankso@6 | 16 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@6 | 17 $CONFIGURE_ARGS |
pankso@6 | 18 make |
pankso@6 | 19 make DESTDIR=$PWD/_pkg/usr install |
pankso@6 | 20 } |
pankso@6 | 21 |
pankso@6 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 23 genpkg_rules() |
pankso@6 | 24 { |
pankso@6 | 25 mkdir -p $fs/usr |
pankso@6 | 26 cp -a $_pkg/usr/sbin $fs/usr |
pankso@6 | 27 cp -a $_pkg/usr/lib $fs/usr |
pankso@6 | 28 strip -s $fs/usr/sbin/* |
pankso@6 | 29 strip -s $fs/usr/lib/pppd/$VERSION/* |
pankso@6 | 30 # Config files. |
pankso@6 | 31 mkdir -p $fs/etc/ppp/scripts |
pankso@6 | 32 cp stuff/README.scripts $fs/etc/ppp |
pankso@6 | 33 cp -a $src/etc.ppp/* $fs/etc/ppp |
pankso@6 | 34 # PPP scripts. |
pankso@6 | 35 cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts |
pankso@6 | 36 cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts |
pankso@6 | 37 cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts |
pankso@6 | 38 cp -a $src/scripts/callback $fs/etc/ppp/scripts |
pankso@6 | 39 cp -a $src/scripts/redialer $fs/etc/ppp/scripts |
pankso@6 | 40 } |