opt/wvdial/Pkgfile

27 lines
814 B
Plaintext

# Description: Weave Dial - PPP dialer
# URL: http://open.nit.ca/wiki/?page=WvDial
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ppp
name=wvdial
version=1.61
release=3
source=(http://wvstreams.googlecode.com/files/$name-$version.tar.gz \
http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz \
$name-$version.patch wvstreams-4.6.1-openssl.patch \
wvstreams-4.6.1-include_stat.patch)
build() {
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
./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
make -j1
cd $SRC/$name-$version
patch -p1 -i $SRC/$name-$version.patch
./configure
make -j1 WVS=$SRC/wvstreams-4.6.1
make DESTDIR=$PKG install
}