wok-next view wvdial/receipt @ rev 19416
Up cookutils (831)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 24 18:11:26 2016 +0200 (2016-09-24) |
parents | d71ba04aa9f5 |
children | aee343d75a6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="wvdial"
4 VERSION="1.61"
5 CATEGORY="network"
6 SHORT_DESC="makes modem-based connection to Internet"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://wvstreams.googlecode.com/"
11 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
12 TAGS="network 3G"
14 DEPENDS="ppp gcc-lib-base wvstreams"
15 BUILD_DEPENDS="wvstreams-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure &&
22 make -j1 &&
23 make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $install/usr/bin/wvdial* $fs/usr/bin
31 cp -a $install/etc $fs
32 }
34 post_remove()
35 {
36 rm -rf /etc/ppp/peers/wvdial
37 }