wvdial: new source URL, fix some warnings
This commit is contained in:
parent
f2388a19ae
commit
30efc866b2
@ -1,26 +1,33 @@
|
||||
# Description: Weave Dial - PPP dialer
|
||||
# URL: http://open.nit.ca/wiki/?page=WvDial
|
||||
# URL: https://code.google.com/archive/p/wvstreams/
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: ppp
|
||||
|
||||
name=wvdial
|
||||
version=1.61
|
||||
release=5
|
||||
source=(http://wvstreams.googlecode.com/files/$name-$version.tar.gz \
|
||||
http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz \
|
||||
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 \
|
||||
$name-$version.patch wvstreams-4.6.1-openssl.patch \
|
||||
wvstreams-4.6.1-include_stat.patch wvstreams-4.6.1-gcc47.patch)
|
||||
|
||||
build() {
|
||||
|
||||
sed -i 's/-D_BSD_SOURCE/-D_DEFAULT_SOURCE/' */wvrules.mk
|
||||
|
||||
cd wvstreams-4.6.1
|
||||
|
||||
patch -p1 -i $SRC/wvstreams-4.6.1-openssl.patch
|
||||
patch -p1 -i $SRC/wvstreams-4.6.1-include_stat.patch
|
||||
patch -p1 -i $SRC/wvstreams-4.6.1-gcc47.patch
|
||||
|
||||
./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
|
||||
make -j1 CXXOPTS='-fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC' COPTS='-O2 -fPIC -DPIC'
|
||||
|
||||
cd $SRC/$name-$version
|
||||
|
||||
patch -p1 -i $SRC/$name-$version.patch
|
||||
|
||||
./configure
|
||||
make -j1 WVS=$SRC/wvstreams-4.6.1
|
||||
make DESTDIR=$PKG install
|
||||
|
Loading…
Reference in New Issue
Block a user