APKBUILD 1.43 KB
Newer Older
1 2 3
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=xmlrpc-epi
4
pkgver=0.54.2
5
pkgrel=1
6
pkgdesc="A versatile xmlrpc and soap implementation"
7 8 9 10
url="http://xmlrpc-epi.sourceforge.net/"
arch="all"
license="MIT"
depends=
11
depends_dev="expat-dev"
12 13 14
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-dev"
15
source="http://sourceforge.net/projects/xmlrpc-epi/files/xmlrpc-epi-base/$pkgver/xmlrpc-epi-$pkgver.tar.bz2"
16

17
_builddir="$srcdir"//$pkgname-$pkgver
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done

	msg "disabling sample build"
	sed -i 's:src sample:src:g' Makefile.am Makefile.in
}

build() {
	cd "$_builddir"
33 34
	./configure \
		--prefix=/usr \
35 36 37 38 39 40 41 42 43 44 45
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
46

47 48
	mkdir "$pkgdir"/usr/include/xmlrpc-epi
	cp -R "$pkgdir"/usr/include/*.h "$pkgdir"/usr/include/xmlrpc-epi
49 50
}

51 52 53
md5sums="081e605491429cda17c5f021f211b8fd  xmlrpc-epi-0.54.2.tar.bz2"
sha256sums="c74ef8fb680b140890138a82f37619714b67f69025a775b9ba2009d62cded0b8  xmlrpc-epi-0.54.2.tar.bz2"
sha512sums="2a8e818bd0eff4d1b0ad0c1cb26f93bc65d941096cf9f4555d1969c69601c452ab26edccee511b06efc9927c5deb7bd2a93fe44da23e5e4f78f6c77ca8e1e9c5  xmlrpc-epi-0.54.2.tar.bz2"