Skip to content

Instantly share code, notes, and snippets.

@Sekiphp
Last active March 5, 2024 14:24
Show Gist options
  • Save Sekiphp/fc98638c2d8ec34ec29249b73f75cc27 to your computer and use it in GitHub Desktop.
Save Sekiphp/fc98638c2d8ec34ec29249b73f75cc27 to your computer and use it in GitHub Desktop.
pkgname=libzookeeper
pkgver=3.8.4
pkgrel=1
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-2.0"
subpackages="$pkgname-dev"
options="!check" # No test suite
source="https://dlcdn.apache.org/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4.tar.gz"
builddir="$srcdir/apache-zookeeper-$pkgver/"
prepare() {
default_prepare
# update_config_guess
# update_config_sub
}
build() {
cd zookeeper-jute && mvn compile
cd ../zookeeper-client/zookeeper-client-c
autoreconf -if
./configure --prefix=/usr
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="78d909c92b3709cc2112d1b8df9ef006f78a81ee0aa1b6b6400b8fea771ebaafc03cde497c6080e3fd924b75facb28420c4970885914e5dc9cd47cd761e96dd4 apache-zookeeper-3.8.4.tar.gz"