aboutsummaryrefslogblamecommitdiffstats
path: root/main/hiredis/APKBUILD
blob: 31daf9b6b03d02edd07b2cf45b74a12ebd423b50 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
               

             



                                                 
                          
                                                              
                                                      
 
                                   

         

                                                           


           
                      


                                         
 
                                                                                                                                                                    
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hiredis
pkgver=0.14.0
pkgrel=0
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
}


sha512sums="57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0  hiredis-0.14.0.tar.gz"