wok-stable view wvstreams/receipt @ rev 6559
Added libglu-mesa to fltk depends and build_depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 23:14:12 2010 +0000 (2010-10-07) |
parents | dad80edb4950 |
children | 63a88816200c |
line source
1 # SliTaz package receipt.
3 PACKAGE="wvstreams"
4 VERSION="4.6.1"
5 CATEGORY="network"
6 SHORT_DESC="makes modem-based connection to Internet"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="ppp gcc-lib-base openssl zlib xplc readline"
9 BUILD_DEPENDS="openssl-dev zlib-dev xplc-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://wvstreams.googlecode.com"
12 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
13 TAGS="network 3g"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
20 ./configure --prefix=/usr \
21 --without-dbus \
22 --without-tcl \
23 --without-qt \
24 --without-pam \
25 --without-valgrind &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/etc $fs/var
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/etc/* $fs/etc
40 cp -a $_pkg/usr/var/* $fs/var
41 }
43 post_remove()
44 {
45 rm -rf /etc/ppp/peers/wvdial
46 }