aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Safarov <s.safarov@gmail.com>2018-09-25 18:59:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-26 19:05:31 +0000
commit376070b28cbd7bfd311045eee5b5f77c4e934285 (patch)
tree6337d81642fe97fc27ab6b792052b5d5b7e738a6
parent38be0b26cf26b95a9f9989ed99be550639266c3b (diff)
downloadaports-376070b28cbd7bfd311045eee5b5f77c4e934285.tar.gz
aports-376070b28cbd7bfd311045eee5b5f77c4e934285.tar.bz2
aports-376070b28cbd7bfd311045eee5b5f77c4e934285.tar.xz
main/hiredis: Fixed build hiredis-dev
-rw-r--r--main/hiredis/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/hiredis/APKBUILD b/main/hiredis/APKBUILD
index 961fccca94..d0efb1928d 100644
--- a/main/hiredis/APKBUILD
+++ b/main/hiredis/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer:
pkgname=hiredis
pkgver=0.13.3
-pkgrel=1
+pkgrel=2
pkgdesc="Minimalistic C client library for Redis"
url="https://github.com/redis/hiredis"
arch="all"
@@ -12,6 +12,7 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+options="!check"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
@@ -34,6 +35,7 @@ package() {
cd "$_builddir"
make PREFIX="$pkgdir"/usr install
+ sed -i -e 's:^libdir.*$:libdir=${exec_prefix}/lib:' -e 's:^includedir.*:includedir=${prefix}/include/hiredis:' $pkgdir/usr/lib/pkgconfig/hiredis.pc
}
md5sums="43dca1445ec6d3b702821dba36000279 hiredis-0.13.3.tar.gz"