wok diff wvstreams/receipt @ rev 5089

split wvdial; add wvstreams, wvstreams-dev
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 15 14:31:03 2010 +0000 (2010-03-15)
parents
children dad80edb4950
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wvstreams/receipt	Mon Mar 15 14:31:03 2010 +0000
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wvstreams"
     1.7 +VERSION="4.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="makes modem-based connection to Internet"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="ppp gcc-lib-base openssl zlib "
    1.12 +BUILD_DEPENDS="openssl-dev zlib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://wvstreams.googlecode.com"
    1.15 +WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
    1.16 +TAGS="network 3g"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	 ./configure --prefix=/usr \
    1.23 +	 --without-dbus \
    1.24 +	 --without-tcl \
    1.25 +	 --without-qt \
    1.26 +	 --without-pam \
    1.27 +	 --without-valgrind &&
    1.28 +
    1.29 +	make && 
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib $fs/etc $fs/var			
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 +	cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
    1.40 +	cp -a $_pkg/usr/sbin $fs/usr
    1.41 +	cp -a $_pkg/usr/etc/* $fs/etc
    1.42 +	cp -a $_pkg/usr/var/* $fs/var
    1.43 +}
    1.44 +
    1.45 +post_remove()
    1.46 +{
    1.47 +	rm -rf /etc/ppp/peers/wvdial
    1.48 +}