wok annotate wvstreams/receipt @ rev 20884
modified TARBALL and WGET_URL in enca recipe
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 25 14:53:31 2019 +0100 (2019-02-25) |
parents | 6135577f4d08 |
children | b7f1bd1b9ac7 |
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" |
pascal@15363 | 8 LICENSE="GPL2" |
jozee@5089 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20682 | 10 WEB_SITE="https://web.archive.org/web/20110504183753/http://alumnit.ca:80/wiki/index.php?page=WvDial" |
jozee@5089 | 11 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL" |
pascal@13027 | 12 TAGS="network 3G" |
jozee@5089 | 13 |
pankso@10625 | 14 DEPENDS="ppp libssl xplc readline" |
pascal@12449 | 15 BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev bash" |
pankso@10625 | 16 |
jozee@5089 | 17 # Rules to configure and make the package. |
jozee@5089 | 18 compile_rules() |
jozee@5089 | 19 { |
jozee@5089 | 20 cd $src |
pascal@5485 | 21 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc |
pascal@9218 | 22 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \ |
pascal@9238 | 23 ipstreams/wvunixdgsocket.cc |
pankso@10625 | 24 ./configure $CONFIGURE_ARGS \ |
pankso@10625 | 25 --prefix=/usr \ |
pankso@10625 | 26 --without-dbus \ |
pankso@10625 | 27 --without-tcl \ |
pankso@10625 | 28 --without-qt \ |
pankso@10625 | 29 --without-pam \ |
pankso@10625 | 30 --without-valgrind && |
pankso@10625 | 31 make -j1 && make -j1 install |
jozee@5089 | 32 } |
jozee@5089 | 33 |
jozee@5089 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5089 | 35 genpkg_rules() |
jozee@5089 | 36 { |
jozee@5089 | 37 mkdir -p $fs/usr/lib $fs/etc $fs/var |
pascal@15363 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15363 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15363 | 40 cp -a $install/usr/lib/valgrind $fs/usr/lib |
pascal@15363 | 41 cp -a $install/usr/sbin $fs/usr |
pascal@15363 | 42 cp -a $install/usr/etc/* $fs/etc |
pascal@15363 | 43 cp -a $install/usr/var/* $fs/var |
jozee@5089 | 44 } |
jozee@5089 | 45 |
jozee@5089 | 46 post_remove() |
jozee@5089 | 47 { |
pascal@18730 | 48 rm -rf "$1/etc/ppp/peers/wvdial" |
jozee@5089 | 49 } |