aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-23 11:00:57 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-23 11:02:30 +0000
commit1181bcc1cec305fe05dd5a6934396f3c957a57b6 (patch)
tree23a27719126a505302a6a4ea380d96af69ff9318
parent3773b710820457fdd93fd9641c1083ed7c29a83c (diff)
downloadaports-1181bcc1cec305fe05dd5a6934396f3c957a57b6.tar.bz2
aports-1181bcc1cec305fe05dd5a6934396f3c957a57b6.tar.xz
testing/hiredis: new aport
-rw-r--r--testing/hiredis/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/hiredis/APKBUILD b/testing/hiredis/APKBUILD
new file mode 100644
index 0000000000..de94ae65db
--- /dev/null
+++ b/testing/hiredis/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=hiredis
+pkgver=0.11.0
+pkgrel=0
+pkgdesc="Minimalistic C client library for Redis"
+url="https://github.com/redis/hiredis"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+
+ make DEBUG=
+}
+
+package() {
+ cd "$_builddir"
+
+ make PREFIX="$pkgdir"/usr install
+}
+
+md5sums="e2ac29509823ccc96990b6fe765b5d46 hiredis-0.11.0.tar.gz"
+sha256sums="ff7b2849e55bf3589eecced7125934feb9645c36a4d490d001dc08c93553eafd hiredis-0.11.0.tar.gz"
+sha512sums="a506c3e09267bd431dea87fdb7f9a44fb1d4795cbecb31323fe2fb9d66c10351fbf6d931fdaf2731fc2d0a985234e5d6ba0c9e694374d2f414294d27b6f060b8 hiredis-0.11.0.tar.gz"