wok annotate wvstreams/receipt @ rev 5398
Merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 02 11:27:38 2010 +0200 (2010-05-02) |
parents | c467222c631f |
children | 36e4927da6d9 |
rev | line source |
---|---|
jozee@5089 | 1 # SliTaz package receipt. |
jozee@5089 | 2 |
jozee@5089 | 3 PACKAGE="wvstreams" |
jozee@5089 | 4 VERSION="4.6.1" |
jozee@5089 | 5 CATEGORY="network" |
jozee@5089 | 6 SHORT_DESC="makes modem-based connection to Internet" |
jozee@5089 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@5099 | 8 DEPENDS="ppp gcc-lib-base openssl zlib xplc readline" |
jozee@5099 | 9 BUILD_DEPENDS="openssl-dev zlib-dev xplc-dev" |
jozee@5089 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@5089 | 11 WEB_SITE="http://wvstreams.googlecode.com" |
jozee@5089 | 12 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL" |
jozee@5089 | 13 TAGS="network 3g" |
jozee@5089 | 14 |
jozee@5089 | 15 # Rules to configure and make the package. |
jozee@5089 | 16 compile_rules() |
jozee@5089 | 17 { |
jozee@5089 | 18 cd $src |
jozee@5089 | 19 ./configure --prefix=/usr \ |
jozee@5089 | 20 --without-dbus \ |
jozee@5089 | 21 --without-tcl \ |
jozee@5089 | 22 --without-qt \ |
jozee@5089 | 23 --without-pam \ |
jozee@5089 | 24 --without-valgrind && |
jozee@5089 | 25 |
jozee@5089 | 26 make && |
jozee@5089 | 27 make DESTDIR=$PWD/_pkg install |
jozee@5089 | 28 } |
jozee@5089 | 29 |
jozee@5089 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5089 | 31 genpkg_rules() |
jozee@5089 | 32 { |
jozee@5089 | 33 mkdir -p $fs/usr/lib $fs/etc $fs/var |
jozee@5089 | 34 cp -a $_pkg/usr/bin $fs/usr |
jozee@5089 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@5089 | 36 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib |
jozee@5089 | 37 cp -a $_pkg/usr/sbin $fs/usr |
jozee@5089 | 38 cp -a $_pkg/usr/etc/* $fs/etc |
jozee@5089 | 39 cp -a $_pkg/usr/var/* $fs/var |
jozee@5089 | 40 } |
jozee@5089 | 41 |
jozee@5089 | 42 post_remove() |
jozee@5089 | 43 { |
jozee@5089 | 44 rm -rf /etc/ppp/peers/wvdial |
jozee@5089 | 45 } |