hydra: Add hydra library

This library is required to build some NRSW tools
This commit is contained in:
Alexandre Bard 2019-02-21 17:18:26 +01:00
parent 01a2b20b1c
commit 39c553af0d
1 changed files with 9 additions and 5 deletions

View File

@ -8,13 +8,13 @@ RDEPENDS_${PN} += "hydra"
PR = "r0"
SRC_URI = "git://git.netmodule.intranet/nmrouter/hydra.git;protocol=ssh;user=gitea;branch=sumo"
SRCREV = "cdebefc3475b2411085081a0e6b717ef9f612701"
SRC_URI = "git://git.netmodule.intranet/nmrouter/hydra.git;protocol=ssh;user=gitea;branch=master"
SRCREV = "c4b7fd3726d5e42852290871e4f457d8188a60f3"
S = "${WORKDIR}/git/tools_src"
FILES_${PN} += " hydra-util"
FILES_${PN} += " hydra-util "
FILES_${PN}-dev += "libhydra.a libhydra.h"
EXTRA_OEMAKE += "-e"
do_compile() {
@ -23,7 +23,11 @@ do_compile() {
do_install() {
install -d ${D}${bindir}/
install -m 0775 ${S}/hydra-util ${D}${bindir}/
install -m 0755 ${S}/hydra-util ${D}${bindir}/
install -d ${D}${libdir}/
install -m 0644 ${S}/libhydra.a ${D}${libdir}
install -d ${D}${includedir}
install -m 0644 ${S}/libhydra.h ${D}${includedir}
}