blob: 65a8114bb4cca978c21daeb5629421d83e3805ee [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "High-Performance Asynchronous HTTP Client Library"
2SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
3 file://norpath.patch \
Brad Bishopbba38f32018-08-23 16:11:46 +08004 file://env.patch \
5 file://0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch \
6 file://0002-SConstruct-Fix-path-quoting-for-.def-generator.patch \
7 file://0003-gen_def.patch \
8 file://0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch \
9 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010
11SRC_URI[md5sum] = "370a6340ff20366ab088012cd13f2b57"
12SRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc"
13
14LICENSE = "Apache-2.0"
15LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
16
17DEPENDS = "python-scons-native openssl apr apr-util util-linux expat"
18
19do_compile() {
20 ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} \
21 CC="${CC}" \
22 APR=`which apr-1-config` APU=`which apu-1-config` \
23 CFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \
24 OPENSSL="${STAGING_EXECPREFIXDIR}"
25}
26
27do_install() {
28 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} LIBDIR=${D}${libdir} install
29}
30
31BBCLASSEXTEND = "native"