diff options
-rw-r--r-- | testing/gearmand/APKBUILD | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/testing/gearmand/APKBUILD b/testing/gearmand/APKBUILD index d747aec902..566c1a9deb 100644 --- a/testing/gearmand/APKBUILD +++ b/testing/gearmand/APKBUILD @@ -1,26 +1,23 @@ # Contributor: Aaron Hurt <ahurt@ena.com> # Maintainer: Aaron Hurt <ahurt@ena.com> pkgname=gearmand -pkgver=1.1.18 -pkgrel=9 +pkgver=1.1.19.1 +pkgrel=0 pkgdesc="A distributed job queue" url="http://gearman.org" arch="all" -license="BSD" +license="BSD-3-Clause" makedepends="boost-dev gperf libevent-dev util-linux-dev hiredis-dev openssl-dev sqlite-dev libmemcached-dev" install="$pkgname.pre-install $pkgname.post-deinstall" -subpackages="$pkgname-doc gearman-dev:gearman_dev gearman-libs:gearman_libs" +subpackages="$pkgname-doc gearman-dev:gearman_dev gearman-libs:gearman_libs $pkgname-openrc" source="https://github.com/gearman/gearmand/releases/download/$pkgver/gearmand-$pkgver.tar.gz libtest-cmdline.cc.patch libhashkit-common.h.patch $pkgname.initd $pkgname.confd" -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" - # Configure with only the most commonly used persistence backends. # We are explicitly disabling tokyo cabinet, pgsql and mysql to reduce # dependencies and overall package size. @@ -38,20 +35,17 @@ build() { --disable-libdrizzle \ --enable-ssl \ --enable-hiredis \ - --enable-jobserver=no \ - || return 1 - make || return 1 + --enable-jobserver=no + make } package() { - cd "$builddir" - - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 + "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 + "$pkgdir"/etc/conf.d/$pkgname } gearman_dev() { @@ -68,7 +62,7 @@ gearman_libs() { mv "$pkgdir"/usr/lib/libgearman.so* "$subpkgdir"/usr/lib/ } -sha512sums="fd2c978775bde19a8f1ffaf720b4c8adfda9859e5f554b247e7edca15fcc684168fb279af6c63e29c0524c8c863a9f3d07ea802e67eec42be793c0487b9beb9a gearmand-1.1.18.tar.gz +sha512sums="cbcf85dfd7268aa9acc039eac9505385af3be89eeba48270ddb45739e0ccdcf0d2963d821ccbb6a471396fc9ab2521d096f5d6c2fc3d41b3fb050bd82a795f1f gearmand-1.1.19.1.tar.gz 8d7c7473d8bcc06a6dfcb1975dd5b4992457661c6c2fab5e160f6252222af603003466c26de0c2d241d247ac33bc68f8fae853b7401691f36b2e6c57ff9b65ba libtest-cmdline.cc.patch 08a1ce2ef071a33efc5c93de5812f83ee2b96ae604eaedb1d40a998ccb4e88a0f588d846d19623de9b8f98df18639168521763d27f1fb3ca046b4c679d61468b libhashkit-common.h.patch d97dbee95c0b96f0a81e42b730afdb9d129eb83e09be101e1bc2b2cd06a95fe1259265b912bf3850a51c6404e2c5883532a008946dfd46992cb488e1221dae97 gearmand.initd |