wok-next annotate wvdial/receipt @ rev 20625
Up tazpkg, alpine, wvdial
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 26 12:47:45 2018 +0300 (2018-04-26) |
parents | 2a21689b0af7 |
children | d5aab818505e |
rev | line source |
---|---|
al@20625 | 1 # SliTaz package receipt v2. |
domcox@2665 | 2 |
domcox@2665 | 3 PACKAGE="wvdial" |
jozee@5090 | 4 VERSION="1.61" |
domcox@2665 | 5 CATEGORY="network" |
al@20625 | 6 SHORT_DESC="Makes modem-based connection to Internet" |
jozee@5090 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
al@20625 | 9 WEB_SITE="https://code.google.com/archive/p/wvstreams/" |
al@20625 | 10 |
jozee@5090 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20625 | 12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/$TARBALL" |
domcox@2665 | 13 |
pascal@15363 | 14 BUILD_DEPENDS="wvstreams-dev" |
pascal@15363 | 15 |
al@20625 | 16 compile_rules() { |
al@20625 | 17 ./configure && |
al@20625 | 18 make -j1 && |
al@20625 | 19 make -j1 \ |
al@20625 | 20 prefix=$DESTDIR/usr \ |
al@20625 | 21 PPPDIR=$DESTDIR/etc/ppp/peers \ |
al@20625 | 22 install |
domcox@2665 | 23 } |
domcox@2665 | 24 |
al@20625 | 25 genpkg_rules() { |
al@20625 | 26 copy @std |
al@20625 | 27 DEPENDS="wvstreams ppp" |
al@20625 | 28 TAGS="network 3G" |
domcox@2665 | 29 } |
domcox@2665 | 30 |
al@20625 | 31 post_remove() { |
domcox@2665 | 32 rm -rf /etc/ppp/peers/wvdial |
domcox@2665 | 33 } |