Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Minimalistic C client library for Redis" |
| 2 | HOMEPAGE = "http://github.com/redis/hiredis" |
| 3 | LICENSE = "BSD-3-Clause" |
| 4 | SECTION = "libs" |
| 5 | DEPENDS = "redis" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 8 | SRCREV = "685030652cd98c5414ce554ff5b356dfe8437870" |
| 9 | SRC_URI = "git://github.com/redis/hiredis;protocol=git \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | file://0001-Makefile-remove-hardcoding-of-CC.patch" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit autotools-brokensep pkgconfig |
| 15 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 16 | EXTRA_OEMAKE = "PREFIX=${prefix} LIBRARY_PATH=${baselib}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | |
| 18 | # By default INSTALL variable in Makefile is equal to 'cp -a', which preserves |
| 19 | # ownership and causes host-user-contamination QA issue. |
| 20 | # And PREFIX defaults to /usr/local. |
| 21 | do_install_prepend() { |
| 22 | export INSTALL='cp -r' |
| 23 | } |