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 SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8" S = "${WORKDIR}/git" -inherit autotools-brokensep - -do_configure:prepend() { - sed -i 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' ${S}/Makefile +do_configure() { + sed \ + -e 's|$(DESTDIR)/usr/bin/|$(DESTDIR)${bindir}/|g' \ + -e 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' \ + -i ${S}/Makefile +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install }