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 \ |
Brad Bishop | bba38f3 | 2018-08-23 16:11:46 +0800 | [diff] [blame] | 4 | 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 \ |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 9 | file://SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch \ |
Brad Bishop | bba38f3 | 2018-08-23 16:11:46 +0800 | [diff] [blame] | 10 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | |
| 12 | SRC_URI[md5sum] = "370a6340ff20366ab088012cd13f2b57" |
| 13 | SRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc" |
| 14 | |
| 15 | LICENSE = "Apache-2.0" |
| 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 17 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 18 | inherit scons |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 20 | DEPENDS += " openssl apr apr-util util-linux expat" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 22 | EXTRA_OESCONS = " \ |
| 23 | LIBDIR=${libdir} \ |
| 24 | --install-sandbox=${D} \ |
| 25 | CC="${CC}" \ |
| 26 | CFLAGS="${CFLAGS}" \ |
| 27 | LINKFLAGS="${LDFLAGS}" \ |
| 28 | APR=`which apr-1-config` \ |
| 29 | APU=`which apu-1-config` \ |
| 30 | OPENSSL="${STAGING_EXECPREFIXDIR}" \ |
| 31 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 32 | |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame^] | 33 | # scons creates non-reproducible archives |
| 34 | do_install_append() { |
| 35 | rm ${D}/${libdir}/*.a |
| 36 | } |
| 37 | |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame] | 38 | BBCLASSEXTEND = "native nativesdk" |