summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/dhex/dhex_0.69.bb
blob: e0026f92dcbfb6a422da7b9feea012c79c8d0fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "dhex is a hex editor that includes a diff mode"
SECTION = "console/utils"
HOMEPAGE = "http://www.dettus.net/dhex/"

DEPENDS = "ncurses"

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://README.txt;beginline=229;endline=241;md5=6f252a421b65bcecf624382ba3c899da"

SRC_URI = "http://www.dettus.net/dhex/dhex_0.69.tar.gz"
SRC_URI[sha256sum] = "52730bcd1cf16bd4dae0de42531be9a4057535ec61ca38c0804eb8246ea6c41b"

S = "${WORKDIR}/dhex_${PV}"

EXTRA_OEMAKE += "'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'CPPFLAGS=${CPPFLAGS}'"

do_compile() {
	oe_runmake
}

do_install() {
	install -m 0755 -d ${D}${bindir}
	install -m 0755 ${S}/dhex ${D}${bindir}/
}