blob: 0f18e8708418524e2a3004c8f631541d57922c8b (
plain)
1 # Description: Weave Dial - PPP dialer
2 # URL: http://open.nit.ca/wiki/?page=WvDial
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: ppp
5
6 name=wvdial
7 version=1.61
8 release=5
9 source=(http://wvstreams.googlecode.com/files/$name-$version.tar.gz \
10 http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz \
11 $name-$version.patch wvstreams-4.6.1-openssl.patch \
12 wvstreams-4.6.1-include_stat.patch wvstreams-4.6.1-gcc47.patch)
13
14 build() {
15 cd wvstreams-4.6.1
16 patch -p1 -i $SRC/wvstreams-4.6.1-openssl.patch
17 patch -p1 -i $SRC/wvstreams-4.6.1-include_stat.patch
18 patch -p1 -i $SRC/wvstreams-4.6.1-gcc47.patch
19 ./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
20 make -j1 CXXOPTS='-fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC' COPTS='-O2 -fPIC -DPIC'
21
22 cd $SRC/$name-$version
23 patch -p1 -i $SRC/$name-$version.patch
24 ./configure
25 make -j1 WVS=$SRC/wvstreams-4.6.1
26 make DESTDIR=$PKG install
27 }
|