aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmemcached/APKBUILD
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-05-01 01:27:49 +0200
committerJ0WI <J0WI@users.noreply.github.com>2020-05-02 23:06:56 +0200
commit99990a73aee11164b1c05e7cd5a02a093614a984 (patch)
treee266c4bfb5f9310f00a677030009a6350ebc0eb8 /main/libmemcached/APKBUILD
parent295c046ae503c8b76a943734b8d6be7a588c401f (diff)
downloadaports-99990a73aee11164b1c05e7cd5a02a093614a984.tar.gz
aports-99990a73aee11164b1c05e7cd5a02a093614a984.tar.bz2
aports-99990a73aee11164b1c05e7cd5a02a093614a984.tar.xz
main/libmemcached: modernize
Diffstat (limited to 'main/libmemcached/APKBUILD')
-rw-r--r--main/libmemcached/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/main/libmemcached/APKBUILD b/main/libmemcached/APKBUILD
index a67d9621ba..ccb5a72eef 100644
--- a/main/libmemcached/APKBUILD
+++ b/main/libmemcached/APKBUILD
@@ -10,12 +10,11 @@ options="!check" # tests are broken
depends_dev="cyrus-sasl-dev"
makedepends="$depends_dev memcached-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-source="https://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
+source="https://launchpad.net/libmemcached/${pkgver%.*}/$pkgver/+download/libmemcached-$pkgver.tar.gz
fix-ppc64le-ptr-check.patch
musl-fixes.patch"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,13 +27,11 @@ build() {
}
check() {
- cd "$builddir"
- make check || { find . -name 'test-suite.log' -exec cat '{}' ';'; return 1; }
+ make check
}
package() {
- cd "$builddir"
- make -j1 AM_MAKEFLAGS= DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
}
sha512sums="2d95fea63b8b6dc7ded42c3a88a54aad74d5a1d417af1247144dae4a88c3b639a3aabc0c2b66661ff69a7609a314efaaae236e10971af9c428a4bca0a0101585 libmemcached-1.0.18.tar.gz