From c0047f9addedf713753898d1e28cad673e9c9067 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 11 Oct 2013 09:13:57 +0000 Subject: testing/libqb: new aport An IPC library for high performance servers https://github.com/clusterlabs/libqb/wiki --- testing/libqb/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 testing/libqb/APKBUILD (limited to 'testing/libqb') diff --git a/testing/libqb/APKBUILD b/testing/libqb/APKBUILD new file mode 100644 index 0000000000..1c31355d6d --- /dev/null +++ b/testing/libqb/APKBUILD @@ -0,0 +1,49 @@ +# Maintainer: Natanael Copa +pkgname=libqb +pkgver=0.16.0 +pkgrel=0 +pkgdesc="An IPC library for high performance servers" +url="https://github.com/clusterlabs/libqb/wiki" +arch="all" +license="LGPLv2+" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://fedorahosted.org/releases/q/u/quarterback/libqb-$pkgver.tar.xz" + +_builddir="$srcdir"/libqb-$pkgver +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 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="51d2ca372c6b8151bf3544d93bcdc8db libqb-0.16.0.tar.xz" +sha256sums="b8cda1efb33d0ce991aad552bbd71b59c16038c2095d139644a95b5b5ea17f48 libqb-0.16.0.tar.xz" +sha512sums="5d8d6ee6e82717127d270cd1cbf0923592dd9ffda9a18f9b7c8f61b2f156d04d794ec6166ca0c2a536639fcf61c25354ececab1379b4a0c310252eebf5d68635 libqb-0.16.0.tar.xz" -- cgit v1.2.3