summaryrefslogtreecommitdiff
path: root/community/libwww
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/libwww
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/libwww')
-rw-r--r--community/libwww/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/libwww/PKGBUILD b/community/libwww/PKGBUILD
index 10909908d..e9095de15 100644
--- a/community/libwww/PKGBUILD
+++ b/community/libwww/PKGBUILD
@@ -1,24 +1,33 @@
-# $Id: PKGBUILD 99890 2013-10-31 02:18:38Z allan $
+# $Id: PKGBUILD 101040 2013-11-15 12:42:59Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Buharev Vasilij <buharev.v.p@gmail.com>
pkgname=libwww
pkgver=5.4.0
-pkgrel=5
+pkgrel=6
pkgdesc="A general-purpose client side WEB API"
arch=('i686' 'x86_64')
url="http://www.w3.org/Library/"
license=('W3C')
-depends=()
+depends=('openssl')
makedepends=('gcc pkgconfig perl zlib openssl')
source=(http://www.w3.org/Library/Distribution/w3c-$pkgname-$pkgver.tgz)
md5sums=('c3734ca6caa405707e134cc8c6d7e422')
+prepare() {
+ cd "$srcdir/w3c-$pkgname-$pkgver"
+ sed -i 's|\${CC-cc}|${CC-cc} -O2 |g' ./configure
+}
+
build() {
cd "$srcdir/w3c-$pkgname-$pkgver"
+ unset LDFLAGS
[ -f Makefile ] || ./configure --prefix=/usr \
- --with-md5 --with-zlib --with-expat --with-regex --with-ssl
- sed -i 's#Examples##' Library/Makefile
+ --with-md5 --with-zlib --with-expat --with-regex --with-ssl
make
+}
+
+package() {
+ cd "$srcdir/w3c-$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}