summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xmlrpc-c/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 16:47:25 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 16:47:25 (GMT)
commit2bb8ec751fd18f24e4049671df5f53d3b5fee9f8 (patch)
tree40ca84433b7a620ac739854c9a000149a5f1b032 /abs/core-testing/xmlrpc-c/PKGBUILD
parentb19d536592e7627f03d5d78cdf171bf3ea44f0be (diff)
downloadlinhes_pkgbuild-2bb8ec751fd18f24e4049671df5f53d3b5fee9f8.zip
linhes_pkgbuild-2bb8ec751fd18f24e4049671df5f53d3b5fee9f8.tar.gz
linhes_pkgbuild-2bb8ec751fd18f24e4049671df5f53d3b5fee9f8.tar.bz2
Adding cmake and xmlrpc-c.
Missing pkgbuilds for taglib.
Diffstat (limited to 'abs/core-testing/xmlrpc-c/PKGBUILD')
-rw-r--r--abs/core-testing/xmlrpc-c/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core-testing/xmlrpc-c/PKGBUILD b/abs/core-testing/xmlrpc-c/PKGBUILD
new file mode 100644
index 0000000..4a1057e
--- /dev/null
+++ b/abs/core-testing/xmlrpc-c/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+# Contributor: Vitaliy Berdinskikh <skipper13@root.ua>
+
+pkgname=xmlrpc-c
+pkgver=1.06.32
+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')
+depends=('curl' 'libxml2')
+makedepends=('libtool')
+options=('!makeflags' '!libtool')
+source=("http://downloads.sourceforge.net/xmlrpc-c/xmlrpc-c-${pkgver}.tgz")
+md5sums=('1a5a0771a22e75819d90e7fab38ef377')
+
+build() {
+ [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
+
+ cd $srcdir/$pkgname-$pkgver
+ ./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
+}