| 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 \ |
| file://0001-CMake-configuration-for-hiredis.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' |
| } |