wok-tiny diff ppp/receipt @ rev 126

Update config_form()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 19:39:46 2017 +0100 (2017-02-12)
parents a6d2ddc65590
children 3de5e6325aab
line diff
     1.1 --- a/ppp/receipt	Fri Jul 05 13:51:26 2013 +0200
     1.2 +++ b/ppp/receipt	Sun Feb 12 19:39:46 2017 +0100
     1.3 @@ -1,37 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ppp"
     1.7 -VERSION="2.4.5"
     1.8 +VERSION="2.4.7"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Point to Point Protocol (Internet with RTC modems)"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD GPL"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://ppp.samba.org/"
    1.15 -WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL"
    1.16 +WGET_URL="https://github.com/paulusmack/ppp/archive/$TARBALL"
    1.17  [ -n "$TARGET" ] || TARGET="i486"
    1.18 -BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
    1.19 +BUILD_DEPENDS="wget uclibc-cross-compiler-$TARGET"
    1.20  DEPENDS="libdl libgcc_s"
    1.21  CONFIG_FILES="/etc/ppp/"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27  	./configure --prefix=/usr --mandir=/usr/share/man \
    1.28 -	$CONFIGURE_ARGS &&
    1.29 +		$CONFIGURE_ARGS &&
    1.30  	make CC=uclibc-$TARGET-cc &&
    1.31 -	make DESTDIR=$PWD/_pkg/usr install
    1.32 +	make DESTDIR=$DESTDIR/usr install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/etc/ppp/peers $fs/etc/ppp/scripts $fs/usr/sbin
    1.39 -	cp -a $_pkg/usr/sbin/pppd  $fs/usr/sbin
    1.40 +	cp -a $install/usr/sbin/pppd  $fs/usr/sbin
    1.41  	cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/ip-up
    1.42  	cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/ip-down
    1.43 -	cp -a stuff/* $fs
    1.44 +	cp -a $stuff/* $fs
    1.45  	cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts
    1.46  	cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts
    1.47  	cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts