# HG changeset patch # User Rohit Joshi # Date 1268663463 0 # Node ID c467222c631ff060981de4c88c1d4908bfd6f42e # Parent 4d83a3db70f5b9cfe760c5c7e3f58339ebe11100 split wvdial; add wvstreams, wvstreams-dev diff -r 4d83a3db70f5 -r c467222c631f wvstreams-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvstreams-dev/receipt Mon Mar 15 14:31:03 2010 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="wvstreams-dev" +VERSION="4.6.1" +CATEGORY="development" +SHORT_DESC="wvstreams devel files." +MAINTAINER="jozee@slitaz.org" +WANTED="wvstreams" +WEB_SITE="http://wvstreams.googlecode.com" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include/ $fs/usr +} diff -r 4d83a3db70f5 -r c467222c631f wvstreams/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvstreams/receipt Mon Mar 15 14:31:03 2010 +0000 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="wvstreams" +VERSION="4.6.1" +CATEGORY="network" +SHORT_DESC="makes modem-based connection to Internet" +MAINTAINER="jozee@slitaz.org" +DEPENDS="ppp gcc-lib-base openssl zlib " +BUILD_DEPENDS="openssl-dev zlib-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://wvstreams.googlecode.com" +WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL" +TAGS="network 3g" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --without-dbus \ + --without-tcl \ + --without-qt \ + --without-pam \ + --without-valgrind && + + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/etc $fs/var + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/valgrind $fs/usr/lib + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/etc/* $fs/etc + cp -a $_pkg/usr/var/* $fs/var +} + +post_remove() +{ + rm -rf /etc/ppp/peers/wvdial +}