Brad Bishop | dec060e | 2019-09-23 08:01:31 -0400 | [diff] [blame] | 1 | SUMMARY = "dhex is a hex editor that includes a diff mode" |
| 2 | SECTION = "console/utils" |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 3 | HOMEPAGE = "http://www.dettus.net/dhex/" |
Brad Bishop | dec060e | 2019-09-23 08:01:31 -0400 | [diff] [blame] | 4 | |
| 5 | DEPENDS = "ncurses" |
| 6 | |
| 7 | LICENSE = "GPLv2+" |
| 8 | LIC_FILES_CHKSUM = "file://README.txt;beginline=229;endline=241;md5=6f252a421b65bcecf624382ba3c899da" |
| 9 | |
| 10 | SRC_URI = "http://www.dettus.net/dhex/dhex_0.69.tar.gz" |
| 11 | SRC_URI[md5sum] = "64d557437fe110c19f23ed3e9bbcdd54" |
| 12 | SRC_URI[sha256sum] = "52730bcd1cf16bd4dae0de42531be9a4057535ec61ca38c0804eb8246ea6c41b" |
| 13 | |
| 14 | S = "${WORKDIR}/dhex_${PV}" |
| 15 | |
| 16 | EXTRA_OEMAKE += "'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'CPPFLAGS=${CPPFLAGS}'" |
| 17 | |
| 18 | do_compile() { |
| 19 | oe_runmake |
| 20 | } |
| 21 | |
| 22 | do_install() { |
| 23 | install -m 0755 -d ${D}${bindir} |
| 24 | install -m 0755 ${S}/dhex ${D}${bindir}/ |
| 25 | } |