aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-18 19:42:59 -0800
committerKhem Raj <raj.khem@gmail.com>2019-12-19 11:02:29 -0800
commit2f6c043c0c99ccf71f9eb9088adbe42972b9d8a0 (patch)
tree772cc002d32aa8acb04c93f923966d4b8ec86864 /meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb
parentc8c31eef9f4a32c852ab51ec31a90f55e4d685b7 (diff)
downloadmeta-openembedded-2f6c043c0c99ccf71f9eb9088adbe42972b9d8a0.tar.gz
meta-openembedded-2f6c043c0c99ccf71f9eb9088adbe42972b9d8a0.tar.bz2
meta-openembedded-2f6c043c0c99ccf71f9eb9088adbe42972b9d8a0.zip
hiredis: Upgrade to 0.14.0
* Define LIBRARY_PATH so multilibbed version can install correctly * Forward port patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb')
-rw-r--r--meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb b/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb
new file mode 100644
index 000000000..29f8de8d2
--- /dev/null
+++ b/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Minimalistic C client library for Redis"
+HOMEPAGE = "http://github.com/redis/hiredis"
+LICENSE = "BSD-3-Clause"
+SECTION = "libs"
+DEPENDS = "redis"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51"
+SRCREV = "685030652cd98c5414ce554ff5b356dfe8437870"
+SRC_URI = "git://github.com/redis/hiredis;protocol=git \
+ file://0001-Makefile-remove-hardcoding-of-CC.patch"
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep pkgconfig
+
+EXTRA_OEMAKE = "PREFIX=${prefix} LIBRARY_PATH=${baselib}"
+
+# By default INSTALL variable in Makefile is equal to 'cp -a', which preserves
+# ownership and causes host-user-contamination QA issue.
+# And PREFIX defaults to /usr/local.
+do_install_prepend() {
+ export INSTALL='cp -r'
+}