aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-11 09:13:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-11 09:13:57 +0000
commitc0047f9addedf713753898d1e28cad673e9c9067 (patch)
tree0657f531c59a86ca25e8c514b9df32806286fbd9 /testing
parent4229f977031f2b19ff5529176326a116d8209de2 (diff)
downloadaports-c0047f9addedf713753898d1e28cad673e9c9067.tar.bz2
aports-c0047f9addedf713753898d1e28cad673e9c9067.tar.xz
testing/libqb: new aport
An IPC library for high performance servers https://github.com/clusterlabs/libqb/wiki
Diffstat (limited to 'testing')
-rw-r--r--testing/libqb/APKBUILD49
1 files changed, 49 insertions, 0 deletions
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 <ncopa@alpinelinux.org>
+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"