wok diff wvdial/receipt @ rev 19179

sc-im: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 10:10:15 2016 +0200 (2016-06-04)
parents d71ba04aa9f5
children 6135577f4d08
line diff
     1.1 --- a/wvdial/receipt	Mon Jun 11 18:48:18 2012 +0200
     1.2 +++ b/wvdial/receipt	Sat Jun 04 10:10:15 2016 +0200
     1.3 @@ -5,28 +5,30 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="makes modem-based connection to Internet"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="ppp gcc-lib-base wvstreams"
     1.8 -BUILD_DEPENDS="wvstreams-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://wvstreams.googlecode.com/"
    1.12  WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
    1.13  TAGS="network 3G"
    1.14  
    1.15 +DEPENDS="ppp gcc-lib-base wvstreams"
    1.16 +BUILD_DEPENDS="wvstreams-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22  	 ./configure &&
    1.23  	make -j1 && 
    1.24 -	make -j1 prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install
    1.25 +	make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/bin
    1.32 -	cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
    1.33 -	cp -a $_pkg/etc $fs
    1.34 +	cp -a $install/usr/bin/wvdial* $fs/usr/bin
    1.35 +	cp -a $install/etc $fs
    1.36  }
    1.37  
    1.38  post_remove()