diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-03-25 02:22:13 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-03-25 02:22:13 -0500 |
commit | fb3563f9770049528b6ea8a67cc58b33b7d6d580 (patch) | |
tree | d33b1d9ada05075f76294e28119623df0745150d /testing/xmlrpc-epi/APKBUILD | |
parent | 63c486c18d39b0b48651607504bf35bf21065516 (diff) | |
download | aports-fb3563f9770049528b6ea8a67cc58b33b7d6d580.tar.bz2 aports-fb3563f9770049528b6ea8a67cc58b33b7d6d580.tar.xz |
testing/xmlrpc-epi: new aport
Diffstat (limited to 'testing/xmlrpc-epi/APKBUILD')
-rw-r--r-- | testing/xmlrpc-epi/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/xmlrpc-epi/APKBUILD b/testing/xmlrpc-epi/APKBUILD new file mode 100644 index 0000000000..9fcde9a2bf --- /dev/null +++ b/testing/xmlrpc-epi/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=xmlrpc-epi +pkgver=0.54.1 +pkgrel=0 +pkgdesc="versatile xmlrpc and soap implementation" +url="http://xmlrpc-epi.sourceforge.net/" +arch="all" +license="MIT" +depends= +depends_dev="expat-dev" +makedepends="$depends_dev autoconf automake libtool" +install="" +subpackages="$pkgname-dev" +source="http://sourceforge.net/projects/xmlrpc-epi/files/xmlrpc-epi-base/$pkgver/xmlrpc-epi-$pkgver.tar.gz" + +_builddir="$srcdir"/xmlrpc +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" + ./configure --prefix=/usr \ + --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 +} + +md5sums="546ce341e7d79691371344449cb9e484 xmlrpc-epi-0.54.1.tar.gz" |