mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 08:22:16 +00:00
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>
This commit is contained in:
parent
cdcb146104
commit
40103c9884
@ -9,8 +9,13 @@ SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master
|
|||||||
SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8"
|
SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools-brokensep
|
do_configure() {
|
||||||
|
sed \
|
||||||
do_configure:prepend() {
|
-e 's|$(DESTDIR)/usr/bin/|$(DESTDIR)${bindir}/|g' \
|
||||||
sed -i 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' ${S}/Makefile
|
-e 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' \
|
||||||
|
-i ${S}/Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
oe_runmake 'DESTDIR=${D}' install
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user