xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/serf/serf_1.3.9.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "High-Performance Asynchronous HTTP Client Library"
2*4882a593SmuzhiyunDESCRIPTION = "The Apache Serf library is a C-based HTTP client library built upon the Apache \
3*4882a593SmuzhiyunPortable Runtime (APR) library. It multiplexes connections, running the \
4*4882a593Smuzhiyunread/write communication asynchronously. Memory copies and transformations are \
5*4882a593Smuzhiyunkept to a minimum to provide high performance operation."
6*4882a593SmuzhiyunHOMEPAGE = "http://serf.apache.org/"
7*4882a593SmuzhiyunSRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
8*4882a593Smuzhiyun           file://norpath.patch \
9*4882a593Smuzhiyun           file://env.patch \
10*4882a593Smuzhiyun           file://0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch \
11*4882a593Smuzhiyun           file://0002-SConstruct-Fix-path-quoting-for-.def-generator.patch \
12*4882a593Smuzhiyun           file://0003-gen_def.patch \
13*4882a593Smuzhiyun           file://0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch \
14*4882a593Smuzhiyun           file://SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch \
15*4882a593Smuzhiyun           file://0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch \
16*4882a593Smuzhiyun           "
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunSRC_URI[md5sum] = "370a6340ff20366ab088012cd13f2b57"
19*4882a593SmuzhiyunSRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunLICENSE = "Apache-2.0"
22*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyuninherit scons
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunDEPENDS += " openssl apr apr-util util-linux expat"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunEXTRA_OESCONS = " \
29*4882a593Smuzhiyun                  LIBDIR=${libdir} \
30*4882a593Smuzhiyun                  --install-sandbox=${D} \
31*4882a593Smuzhiyun                  CC="${CC}" \
32*4882a593Smuzhiyun                  CFLAGS="${CFLAGS}" \
33*4882a593Smuzhiyun                  LINKFLAGS="${LDFLAGS}" \
34*4882a593Smuzhiyun                  APR=`which apr-1-config` \
35*4882a593Smuzhiyun                  APU=`which apu-1-config` \
36*4882a593Smuzhiyun                  OPENSSL="${STAGING_EXECPREFIXDIR}" \
37*4882a593Smuzhiyun                  "
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun# scons creates non-reproducible archives
40*4882a593Smuzhiyundo_install:append() {
41*4882a593Smuzhiyun	rm ${D}/${libdir}/*.a
42*4882a593Smuzhiyun}
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
45