summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-03-19 17:41:52 +0000
committerKhem Raj <raj.khem@gmail.com>2025-03-19 12:50:42 -0700
commit40103c988431e65fcbd4598dc4f4d05719716eb6 (patch)
tree7ba9dce082c1d974d97faa7beb19edb85b5c7b3a
parentcdcb14610409914472ab8ec621757ba5dbc78cc7 (diff)
downloadmeta-openembedded-40103c988431e65fcbd4598dc4f4d05719716eb6.tar.gz
fbgrab: don't inherit autotools
This upstream does not in fact use autotools, so remove the inherit and implement the required do_install. Also fix the hardcoded /usr/bin to use ${bindir}. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb11
1 files changed, 8 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb b/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
index 7b52ead909..e17992ee4f 100644
--- a/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
+++ b/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
@@ -9,8 +9,13 @@ SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master
9SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8" 9SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8"
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
12inherit autotools-brokensep 12do_configure() {
13 sed \
14 -e 's|$(DESTDIR)/usr/bin/|$(DESTDIR)${bindir}/|g' \
15 -e 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' \
16 -i ${S}/Makefile
17}
13 18
14do_configure:prepend() { 19do_install() {
15 sed -i 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' ${S}/Makefile 20 oe_runmake 'DESTDIR=${D}' install
16} 21}