2006-02-23 17:13:51 +00:00
|
|
|
# Description: Weave Dial - PPP dialer
|
2016-06-12 13:30:36 +02:00
|
|
|
# URL: https://code.google.com/archive/p/wvstreams/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2009-09-30 10:28:20 +02:00
|
|
|
# Depends on: ppp
|
2006-02-23 17:13:51 +00:00
|
|
|
|
|
|
|
name=wvdial
|
2009-09-30 10:28:20 +02:00
|
|
|
version=1.61
|
2016-10-29 12:23:24 +02:00
|
|
|
release=7
|
2016-06-12 13:30:36 +02:00
|
|
|
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/$name-$version.tar.gz \
|
|
|
|
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/wvstreams-4.6.1.tar.gz \
|
2016-07-02 13:51:26 +02:00
|
|
|
$name-$version.patch \
|
|
|
|
wvstreams-4.6.1-openssl.patch \
|
|
|
|
wvstreams-4.6.1-include_stat.patch \
|
|
|
|
wvstreams-4.6.1-gcc47.patch \
|
|
|
|
wvstreams-4.6.1-use-explicit-cast.patch)
|
2006-02-23 17:13:51 +00:00
|
|
|
|
|
|
|
build() {
|
2016-06-12 13:30:36 +02:00
|
|
|
|
|
|
|
sed -i 's/-D_BSD_SOURCE/-D_DEFAULT_SOURCE/' */wvrules.mk
|
|
|
|
|
2009-09-30 10:28:20 +02:00
|
|
|
cd wvstreams-4.6.1
|
2016-06-12 13:30:36 +02:00
|
|
|
|
2016-07-02 13:51:26 +02:00
|
|
|
patch -p1 -i $SRC/wvstreams-4.6.1-use-explicit-cast.patch
|
2010-06-09 12:35:28 +02:00
|
|
|
patch -p1 -i $SRC/wvstreams-4.6.1-openssl.patch
|
2010-08-06 13:01:10 +02:00
|
|
|
patch -p1 -i $SRC/wvstreams-4.6.1-include_stat.patch
|
2012-07-31 20:10:21 +02:00
|
|
|
patch -p1 -i $SRC/wvstreams-4.6.1-gcc47.patch
|
2016-06-12 13:30:36 +02:00
|
|
|
|
2008-12-29 10:18:33 +01:00
|
|
|
./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
|
2016-07-02 13:51:26 +02:00
|
|
|
|
|
|
|
CXXOPTS='-fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -w' \
|
|
|
|
COPTS='-O2 -fPIC -DPIC' \
|
|
|
|
make -j1
|
2006-02-23 17:13:51 +00:00
|
|
|
|
|
|
|
cd $SRC/$name-$version
|
2016-06-12 13:30:36 +02:00
|
|
|
|
2008-12-29 10:18:33 +01:00
|
|
|
patch -p1 -i $SRC/$name-$version.patch
|
2016-06-12 13:30:36 +02:00
|
|
|
|
2009-09-30 10:28:20 +02:00
|
|
|
./configure
|
|
|
|
make -j1 WVS=$SRC/wvstreams-4.6.1
|
2006-02-23 17:13:51 +00:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|