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 \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 10 | file://0001-Makefile-remove-hardcoding-of-CC.patch \ |
| 11 | file://0001-CMake-configuration-for-hiredis.patch" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | inherit autotools-brokensep pkgconfig |
| 16 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 17 | EXTRA_OEMAKE = "PREFIX=${prefix} LIBRARY_PATH=${baselib}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | |
| 19 | # By default INSTALL variable in Makefile is equal to 'cp -a', which preserves |
| 20 | # ownership and causes host-user-contamination QA issue. |
| 21 | # And PREFIX defaults to /usr/local. |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 22 | do_install:prepend() { |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 23 | export INSTALL='cp -r' |
| 24 | } |