Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "High-Performance Asynchronous HTTP Client Library" |
| 2 | SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 3 | file://norpath.patch \ |
| 4 | file://env.patch" |
| 5 | |
| 6 | SRC_URI[md5sum] = "370a6340ff20366ab088012cd13f2b57" |
| 7 | SRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc" |
| 8 | |
| 9 | LICENSE = "Apache-2.0" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 11 | |
| 12 | DEPENDS = "python-scons-native openssl apr apr-util util-linux expat" |
| 13 | |
| 14 | do_compile() { |
| 15 | ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} \ |
| 16 | CC="${CC}" \ |
| 17 | APR=`which apr-1-config` APU=`which apu-1-config` \ |
| 18 | CFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \ |
| 19 | OPENSSL="${STAGING_EXECPREFIXDIR}" |
| 20 | } |
| 21 | |
| 22 | do_install() { |
| 23 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} LIBDIR=${D}${libdir} install |
| 24 | } |
| 25 | |
| 26 | BBCLASSEXTEND = "native" |