wok-next diff wvdial/receipt @ rev 20766

childsplay: up (3.3); tiny edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 04:36:32 2018 +0300 (2018-06-06)
parents 2a21689b0af7
children d5aab818505e
line diff
     1.1 --- a/wvdial/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/wvdial/receipt	Wed Jun 06 04:36:32 2018 +0300
     1.3 @@ -1,37 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="wvdial"
     1.8  VERSION="1.61"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="makes modem-based connection to Internet"
    1.11 +SHORT_DESC="Makes modem-based connection to Internet"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://code.google.com/archive/p/wvstreams/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://wvstreams.googlecode.com/"
    1.18 -WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
    1.19 -TAGS="network 3G"
    1.20 +WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/$TARBALL"
    1.21  
    1.22 -DEPENDS="ppp gcc-lib-base wvstreams"
    1.23  BUILD_DEPENDS="wvstreams-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 -	 ./configure &&
    1.30 -	make -j1 && 
    1.31 -	make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install
    1.32 +compile_rules() {
    1.33 +	./configure &&
    1.34 +	make -j1 &&
    1.35 +	make -j1 \
    1.36 +		prefix=$DESTDIR/usr \
    1.37 +		PPPDIR=$DESTDIR/etc/ppp/peers \
    1.38 +		install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr/bin
    1.45 -	cp -a $install/usr/bin/wvdial* $fs/usr/bin
    1.46 -	cp -a $install/etc $fs
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="wvstreams   ppp"
    1.50 +	TAGS="network 3G"
    1.51  }
    1.52  
    1.53 -post_remove()
    1.54 -{
    1.55 +post_remove() {
    1.56  	rm -rf /etc/ppp/peers/wvdial
    1.57  }