summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ruli/ruli_0.36.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-11-20 11:42:40 -0800
committerKhem Raj <raj.khem@gmail.com>2019-11-20 22:17:23 -0800
commitf4e6224b340fba198639bdd4585a81efdf15303e (patch)
tree8de09039867310ccc27dd0493d14155f082a18ba /meta-networking/recipes-support/ruli/ruli_0.36.bb
parentdc162cf8fccec1582a481d3d126242243b03dd2e (diff)
downloadmeta-openembedded-f4e6224b340fba198639bdd4585a81efdf15303e.tar.gz
ruli: Fix install step and build samples too
do_install never executed as a result it was empty install Create ruli-bin package for utilities, so libraries can be packages granularily Drop the makefile patch which is no longer needed, set the make variables to get the needed bits set Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ruli/ruli_0.36.bb')
-rw-r--r--meta-networking/recipes-support/ruli/ruli_0.36.bb23
1 files changed, 16 insertions, 7 deletions
diff --git a/meta-networking/recipes-support/ruli/ruli_0.36.bb b/meta-networking/recipes-support/ruli/ruli_0.36.bb
index 885796d2a5..b82a3d08e8 100644
--- a/meta-networking/recipes-support/ruli/ruli_0.36.bb
+++ b/meta-networking/recipes-support/ruli/ruli_0.36.bb
@@ -8,18 +8,27 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
8DEPENDS = "liboop" 8DEPENDS = "liboop"
9 9
10SRC_URI = "http://download.savannah.gnu.org/releases/ruli/ruli_${PV}.orig.tar.gz \ 10SRC_URI = "http://download.savannah.gnu.org/releases/ruli/ruli_${PV}.orig.tar.gz \
11 file://Makefile.patch \
12 file://0001-Fix-build-with-format-string-checks.patch \ 11 file://0001-Fix-build-with-format-string-checks.patch \
13 file://0001-src-ruli_addr.c-Add-missing-format-string.patch \ 12 file://0001-src-ruli_addr.c-Add-missing-format-string.patch \
13 file://0001-ruli_srv-Mark-prev_addr_list_size-as-unused.patch \
14 file://0001-Make-space-for-flags-from-environment.patch \
14 " 15 "
15 16
16SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468" 17SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468"
17SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a3999dbfa" 18SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a3999dbfa"
18 19
19do_install1() { 20B = "${S}"
20 install -d ${D}${includedir}/ruli 21
21 install -d ${D}${libdir} 22EXTRA_OEMAKE = 'CC="${CC}" OOP_BASE_DIR="${STAGING_EXECPREFIXDIR}" INSTALL_BASE_DIR="${D}${exec_prefix}"'
22 install -m 0644 ${S}/src/ruli*.h ${D}${includedir}/ruli 23
23 install -m 0644 ${S}/src/libruli.so ${D}${libdir} 24do_configure() {
24 install -m 0644 ${S}/src/libruli.so.4 ${D}${libdir} 25 touch configure-stamp
26}
27
28do_install() {
29 oe_runmake install
25} 30}
31
32PACKAGES =+ "${PN}-bin"
33
34FILES_${PN} =+ "${bindir}"