summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
blob: efcf5a9ea6b3aeee6039957203bb6f885c8703cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "FBGrab is a framebuffer screenshot program"
HOMEPAGE = "https://github.com/GunnarMonell/fbgrab"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
SECTION = "console/utils"
DEPENDS = "libpng zlib"
SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master"

SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8"
S = "${WORKDIR}/git"

do_configure:prepend() {
    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
}