opt/wvdial/Pkgfile

28 lines
802 B
Plaintext

# Description: Weave Dial - PPP dialer
# URL: http://open.nit.ca/wiki/?page=WvDial
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: ppp, openssl
name=wvdial
version=1.60
release=3
source=(http://alumnit.ca/download/$name-$version.tar.gz \
http://wvstreams.googlecode.com/files/wvstreams-4.4.1.tar.gz \
$name-$version.patch wvstreams-gcc43.patch)
build() {
cd wvstreams-4.4.1
patch -p1 -i $SRC/wvstreams-gcc43.patch
./configure --prefix=/usr \
--enable-verbose \
--without-{pam,tcl,qt}
make
ln -s ../xplc/include/xplc include/xplc
cd $SRC/$name-$version
patch -p1 < $SRC/$name-$version.patch
make CXXOPTS="$CXXFLAGS" WVS=$SRC/wvstreams-4.4.1
make DESTDIR=$PKG install
}