blob: c6b51452aa3319cc287ba6fd9cb6af80a6e0efa9 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "High-Performance Asynchronous HTTP Client Library"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "The Apache Serf library is a C-based HTTP client library built upon the Apache \
3Portable Runtime (APR) library. It multiplexes connections, running the \
4read/write communication asynchronously. Memory copies and transformations are \
5kept to a minimum to provide high performance operation."
Andrew Geissler95ac1b82021-03-31 14:34:31 -05006HOMEPAGE = "http://serf.apache.org/"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
8 file://norpath.patch \
Brad Bishopbba38f32018-08-23 16:11:46 +08009 file://env.patch \
Brad Bishopbba38f32018-08-23 16:11:46 +080010 file://0002-SConstruct-Fix-path-quoting-for-.def-generator.patch \
11 file://0003-gen_def.patch \
Brad Bishopf3fd2882019-06-21 08:06:37 -040012 file://SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch \
Brad Bishopbba38f32018-08-23 16:11:46 +080013 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014
Patrick Williams520786c2023-06-25 16:20:36 -050015SRC_URI[sha256sum] = "be81ef08baa2516ecda76a77adf7def7bc3227eeb578b9a33b45f7b41dc064e6"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016
17LICENSE = "Apache-2.0"
18LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
19
Brad Bishop15ae2502019-06-18 21:44:24 -040020inherit scons
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021
Brad Bishop15ae2502019-06-18 21:44:24 -040022DEPENDS += " openssl apr apr-util util-linux expat"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023
Brad Bishop15ae2502019-06-18 21:44:24 -040024EXTRA_OESCONS = " \
25 LIBDIR=${libdir} \
26 --install-sandbox=${D} \
27 CC="${CC}" \
28 CFLAGS="${CFLAGS}" \
29 LINKFLAGS="${LDFLAGS}" \
30 APR=`which apr-1-config` \
31 APU=`which apu-1-config` \
32 OPENSSL="${STAGING_EXECPREFIXDIR}" \
33 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034
Andrew Geissler09209ee2020-12-13 08:44:15 -060035# scons creates non-reproducible archives
Patrick Williams213cb262021-08-07 19:21:33 -050036do_install:append() {
Andrew Geissler09209ee2020-12-13 08:44:15 -060037 rm ${D}/${libdir}/*.a
38}
39
Andrew Geisslerb7d28612020-07-24 16:15:54 -050040BBCLASSEXTEND = "native nativesdk"