aboutsummaryrefslogtreecommitdiffstats
path: root/main/hiredis/APKBUILD
blob: 477febde5d5fc53f6def1f3a96a512019d63846c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hiredis
pkgver=0.13.3
pkgrel=2
pkgdesc="Minimalistic C client library for Redis"
url="https://github.com/redis/hiredis"
arch="all"
license="BSD"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
options="!check" # check requires running redis server

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX=/usr DEBUG="$CFLAGS" LDFLAGS="$LDFLAGS"
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir"/usr install
}


md5sums="43dca1445ec6d3b702821dba36000279  hiredis-0.13.3.tar.gz"
sha256sums="717e6fc8dc2819bef522deaca516de9e51b9dfa68fe393b7db5c3b6079196f78  hiredis-0.13.3.tar.gz"
sha512sums="0d8b71d5ee4105e8aaeeee308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c  hiredis-0.13.3.tar.gz"