PKGBUILDs/extra/wvstreams/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
987 B
Bash

# $Id: PKGBUILD 51105 2009-09-05 03:06:59Z allan $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=wvstreams
pkgver=4.6
pkgrel=2
pkgdesc="A network programming library written in C++"
arch=('i686' 'x86_64')
url="http://alumnit.ca/wiki/?page=WvStreams"
license=('LGPL')
depends=('zlib' 'pam' 'xplc' "openssl>=0.9.8f" 'readline')
source=(http://wvstreams.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('4ee8ccfe6dfc29bf952d58fa23626c97')
options=('!makeflags')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--without-dbus --with-pam --with-openssl --without-tcl \
--without-qt || return 1
make COPTS="$CFLAGS -fPIC" CXXOPTS="$CXXFLAGS -fPIC -fpermissive" VERBOSE=1 || return 1
make DESTDIR=${pkgdir} install || return 1
# building with dbus support requres static dbus libs
# but --without-dus still installs the pkg-config file
rm ${pkgdir}/usr/lib/pkgconfig/libwvdbus.pc
}