opt/wvdial/Pkgfile

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2006-02-23 18:13:51 +01:00
# Description: Weave Dial - PPP dialer
# 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 18:13:51 +01:00
name=wvdial
2009-09-30 10:28:20 +02:00
version=1.61
release=5
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 \
2012-07-31 20:10:21 +02:00
wvstreams-4.6.1-include_stat.patch wvstreams-4.6.1-gcc47.patch)
2006-02-23 18:13:51 +01:00
build() {
sed -i 's/-D_BSD_SOURCE/-D_DEFAULT_SOURCE/' */wvrules.mk
2009-09-30 10:28:20 +02:00
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
2012-07-31 20:10:21 +02:00
patch -p1 -i $SRC/wvstreams-4.6.1-gcc47.patch
2008-12-29 10:18:33 +01:00
./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
make -j1 CXXOPTS='-fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC' COPTS='-O2 -fPIC -DPIC'
2006-02-23 18:13:51 +01:00
cd $SRC/$name-$version
2008-12-29 10:18:33 +01:00
patch -p1 -i $SRC/$name-$version.patch
2009-09-30 10:28:20 +02:00
./configure
make -j1 WVS=$SRC/wvstreams-4.6.1
2006-02-23 18:13:51 +01:00
make DESTDIR=$PKG install
}