diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xmlrpc-c/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xmlrpc-c/PKGBUILD')
-rw-r--r-- | community/xmlrpc-c/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/xmlrpc-c/PKGBUILD b/community/xmlrpc-c/PKGBUILD new file mode 100644 index 000000000..f14eae4e0 --- /dev/null +++ b/community/xmlrpc-c/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: $ +# Contributor: Pierre Schmitz <pierre@archlinux.de> +# Contributor: Vitaliy Berdinskikh <skipper13@root.ua> +# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com> + +pkgname=xmlrpc-c +pkgver=1858 +pkgrel=1 +pkgdesc='This library provides a modular implementation of XML-RPC for C and C++' +arch=('i686' 'x86_64') +url='http://xmlrpc-c.sourceforge.net/' +license=('custom:xmlrpc-c') +depends=('curl' 'libxml2' 'gcc-libs' 'zlib') +makedepends=('libtool') +options=('!makeflags' '!libtool') +source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('2bd41d1827ebd12ca8f0b9ef0b015228') + +build() { + [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" + + cd $srcdir/$pkgname + ./configure --prefix=/usr \ + --enable-libxml2-backend \ + --disable-cgi-server \ + --disable-abyss-server \ + --disable-libwww-client \ + --disable-wininet-client + + make CFLAGS_PERSONAL="${CFLAGS}" || return 1 + make DESTDIR=$pkgdir install + + install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING + mv $pkgdir/usr/man $pkgdir/usr/share/man +} +# vim:set ts=2 sw=2 et: |