diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-11-20 11:42:40 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-11-20 22:17:23 -0800 |
| commit | f4e6224b340fba198639bdd4585a81efdf15303e (patch) | |
| tree | 8de09039867310ccc27dd0493d14155f082a18ba /meta-networking/recipes-support/ruli/ruli_0.36.bb | |
| parent | dc162cf8fccec1582a481d3d126242243b03dd2e (diff) | |
| download | meta-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.bb | 23 |
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" | |||
| 8 | DEPENDS = "liboop" | 8 | DEPENDS = "liboop" |
| 9 | 9 | ||
| 10 | SRC_URI = "http://download.savannah.gnu.org/releases/ruli/ruli_${PV}.orig.tar.gz \ | 10 | SRC_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 | ||
| 16 | SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468" | 17 | SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468" |
| 17 | SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a3999dbfa" | 18 | SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a3999dbfa" |
| 18 | 19 | ||
| 19 | do_install1() { | 20 | B = "${S}" |
| 20 | install -d ${D}${includedir}/ruli | 21 | |
| 21 | install -d ${D}${libdir} | 22 | EXTRA_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} | 24 | do_configure() { |
| 24 | install -m 0644 ${S}/src/libruli.so.4 ${D}${libdir} | 25 | touch configure-stamp |
| 26 | } | ||
| 27 | |||
| 28 | do_install() { | ||
| 29 | oe_runmake install | ||
| 25 | } | 30 | } |
| 31 | |||
| 32 | PACKAGES =+ "${PN}-bin" | ||
| 33 | |||
| 34 | FILES_${PN} =+ "${bindir}" | ||
