blob: 4a1057effa1ec464b3d8f66a787572e9b0d4339d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}
|