aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libzookeeper/APKBUILD
blob: 99cfa2c2825770e3806bb8dccab149d60e860a1a (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
# Contributor: Maciej Klak <klak.maciej@gmail.com>
# Maintainer: Maciej Klak <klak.maciej@gmail.com>
pkgname=libzookeeper
pkgver=3.4.14
pkgrel=0
pkgdesc="The Apache ZooKeeper system for distributed coordination is a high-performance service for building distributed applications."
url="https://zookeeper.apache.org"
arch="all"
license="Apache License"
subpackages="$pkgname-dev"
options="!check" # No test suite
source="http://www-eu.apache.org/dist/zookeeper/zookeeper-$pkgver/zookeeper-$pkgver.tar.gz
	fix-sprintf-overflow.patch"
builddir="$srcdir/zookeeper-$pkgver/zookeeper-client/zookeeper-client-c"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b2e03d95f8cf18b97a46e2f53871cef5a5da9d5d80b97009375aed7fb35368c440ca944c7e8b64efabbc065f6fb98bb86239f7c1491f0490efc71876d5a7f424  zookeeper-3.4.14.tar.gz
91c6ef3f4c8edf1e95ccbd85fc961760f21f4943631fc8a7f6e2a7984ca0fc6b381075ac55f7b91c6439e9c7dc2fdb74d016238250e5c156bbd1f4bc11e2abaa  fix-sprintf-overflow.patch"