From cc57cb201ddb179d2bb481c13dd4f286ae643b12 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Jun 2013 00:27:56 -0700 Subject: Tue Jun 4 00:27:56 PDT 2013 --- community/wvstreams/PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'community/wvstreams/PKGBUILD') diff --git a/community/wvstreams/PKGBUILD b/community/wvstreams/PKGBUILD index 02488b789..eb5b48e7f 100644 --- a/community/wvstreams/PKGBUILD +++ b/community/wvstreams/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 75083 2012-08-13 16:55:40Z bluewind $ +# $Id: PKGBUILD 92257 2013-06-03 11:15:30Z allan $ # Maintainer: # Contributor: Andrea Scarpino # Contributor: dorphell pkgname=wvstreams pkgver=4.6.1 -pkgrel=5 +pkgrel=6 pkgdesc="A network programming library written in C++" arch=('i686' 'x86_64') url="http://alumnit.ca/wiki/?page=WvStreams" @@ -19,14 +19,19 @@ md5sums=('2760dac31a43d452a19a3147bfde571c' 'df423c68134a09439b3961c34635e0b4') options=('!makeflags') -build() { - cd ${srcdir}/${pkgname}-${pkgver} +prepare() { + cd ${pkgname}-${pkgver} patch -p0 -i "$srcdir/wvstreams-4.6.1-glibc212.patch" patch -p0 -i "$srcdir/wvstreams-4.6.1-gcc47.patch" patch -p1 -i "$srcdir/openssl-buildfix.patch" +} + +build() { + cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ + --sbin=/usr/bin \ --sysconfdir=/etc \ --localstatedir=/var \ --without-dbus \ @@ -38,12 +43,12 @@ build() { } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install # FS#15974 # --without-dbus still installs the pkg-config file - rm ${pkgdir}/usr/lib/pkgconfig/libwvdbus.pc + rm "${pkgdir}/usr/lib/pkgconfig/libwvdbus.pc" # --without-qt still installs the pkg-config file - rm ${pkgdir}/usr/lib/pkgconfig/libwvqt.pc + rm "${pkgdir}/usr/lib/pkgconfig/libwvqt.pc" } -- cgit v1.2.3-54-g00ecf