summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/serf/serf_1.3.9.bb23
1 files changed, 12 insertions, 11 deletions
diff --git a/meta/recipes-support/serf/serf_1.3.9.bb b/meta/recipes-support/serf/serf_1.3.9.bb
index 706c86be47..92cd5ca061 100644
--- a/meta/recipes-support/serf/serf_1.3.9.bb
+++ b/meta/recipes-support/serf/serf_1.3.9.bb
@@ -14,18 +14,19 @@ SRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf
14LICENSE = "Apache-2.0" 14LICENSE = "Apache-2.0"
15LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 15LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
16 16
17DEPENDS = "python3-scons-native openssl apr apr-util util-linux expat" 17inherit scons
18 18
19do_compile() { 19DEPENDS += " openssl apr apr-util util-linux expat"
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 20
27do_install() { 21EXTRA_OESCONS = " \
28 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} LIBDIR=${D}${libdir} install 22 LIBDIR=${libdir} \
29} 23 --install-sandbox=${D} \
24 CC="${CC}" \
25 CFLAGS="${CFLAGS}" \
26 LINKFLAGS="${LDFLAGS}" \
27 APR=`which apr-1-config` \
28 APU=`which apu-1-config` \
29 OPENSSL="${STAGING_EXECPREFIXDIR}" \
30 "
30 31
31BBCLASSEXTEND = "native" 32BBCLASSEXTEND = "native"