meta-imbus/recipes-hello/libhash/libhash_git.bb
2026-02-03 18:12:28 +01:00

31 lines
806 B
BlitzBasic

# This is borked. Bitbake has strict requirements on .so versioning and symlinking,
# and for a very good reason, of course.
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5741b139eae27eb6a4fc1c9b1732ef7f"
SRC_URI = "git://git.silversoft.se/Imbus/libhash.git;protocol=https;branch=master"
PV = "1.0+git"
SRCREV = "9c23dc5653a5de8fef69265411a23c9905495acb"
S = "${WORKDIR}/git"
do_configure () {
# Specify any needed configure commands here
:
}
do_compile () {
# You will almost certainly need to add additional arguments here
oe_runmake
}
do_install () {
# This is a guess; additional arguments may be required
oe_runmake install 'DESTDIR=${D}' 'PREFIX=/usr'
}
FILES:${PN}-staticdev += "/usr/lib/libhash.a"
FILES:${PN}-dev += "/usr/lib/libhash.so"
FILES:${PN}-dev += "/usr/include/"