PKGBUILDs/community/libwww/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
757 B
Bash

# Contributor: Buharev Vasilij <buharev.v.p@gmail.com>
pkgname=libwww
pkgver=5.4.0
pkgrel=3
pkgdesc="A general-purpose client side WEB API"
arch=('i686' 'x86_64')
url="http://www.w3.org/Library/"
license=('custom')
depends=()
makedepends=('gcc pkgconfig perl zlib openssl')
options=('!libtool')
source=(http://www.w3.org/Library/Distribution/w3c-$pkgname-$pkgver.tgz)
md5sums=('c3734ca6caa405707e134cc8c6d7e422')
build() {
cd "$startdir/src/w3c-$pkgname-$pkgver"
#export ac_cv_header_appkit_appkit_h=no
./configure --prefix=/usr --with-md5 --with-zlib --with-expat --with-regex --with-ssl
make || return 1
make DESTDIR="$startdir/pkg" install || return 1
install -D -m 0644 COPYRIGHT.html $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT.html
}