wok-6.x view ppp/receipt @ rev 6755

Added bin86. A complete 8086 and loader. Needed to build virtualbox-ose.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 17 19:56:54 2010 +0000 (2010-10-17)
parents 1d1a4203b937
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="ppp"
4 VERSION="2.4.5"
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"
11 CONFIG_FILES="/etc/ppp"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 strip -s $fs/usr/sbin/*
30 strip -s $fs/usr/lib/pppd/$VERSION/*
31 # Config files.
32 mkdir -p $fs/etc/ppp/scripts
33 cp stuff/README.scripts $fs/etc/ppp
34 cp -a $src/etc.ppp/* $fs/etc/ppp
35 # PPP scripts.
36 cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts
37 cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts
39 cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts
40 cp -a $src/scripts/callback $fs/etc/ppp/scripts
41 cp -a $src/scripts/redialer $fs/etc/ppp/scripts
43 cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/ip-up
44 cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/ip-down
45 chmod +x $fs/etc/ppp/ip*
46 # insert #!/bin/sh on top line in ip* scripts
47 sed -i '1i\#!/bin/sh' $fs/etc/ppp/ip*
48 # add empty peers dir
49 mkdir -p $fs/etc/ppp/peers
50 sed -i 's:ppp/ppp-on-dialer:ppp/script/ppp-on-dialer:' $fs/etc/ppp/scripts/ppp-on
52 }