12a25492cSPatrick WilliamsSUMMARY = "Bitwise terminal calculator"
22a25492cSPatrick WilliamsDESCRIPTION = "Bitwise is multi base interactive calculator \
32a25492cSPatrick Williamssupporting dynamic base conversion and bit manipulation.\
42a25492cSPatrick WilliamsIt's a handy tool for low level hackers, \
52a25492cSPatrick Williamskernel developers and device drivers developers."
62a25492cSPatrick Williams
72a25492cSPatrick WilliamsHOMEPAGE = "https://github.com/mellowcandle/bitwise"
82a25492cSPatrick WilliamsSECTION = "console/utils"
92a25492cSPatrick Williams
102a25492cSPatrick WilliamsLICENSE = "GPL-3.0-only"
112a25492cSPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
122a25492cSPatrick Williams
132a25492cSPatrick WilliamsSRC_URI = "https://github.com/mellowcandle/bitwise/releases/download/v${PV}/bitwise-v${PV}.tar.gz \
142a25492cSPatrick Williams           file://0001-makefile.am-Fix-build-when-build-dir-is-not-same-as-.patch \
152a25492cSPatrick Williams           file://run-ptest \
162a25492cSPatrick Williams           file://ptest.out.expected \
172a25492cSPatrick Williams           "
182a25492cSPatrick WilliamsSRC_URI[sha256sum] = "806271fa5bf31de0600315e8720004a8f529954480e991ca84a9868dc1cae97e"
192a25492cSPatrick Williams
202a25492cSPatrick WilliamsUPSTREAM_CHECK_URI = "https://github.com/mellowcandle/bitwise/releases"
212a25492cSPatrick Williams
222a25492cSPatrick WilliamsS = "${WORKDIR}/${BPN}-v${PV}"
232a25492cSPatrick Williams
242a25492cSPatrick WilliamsDEPENDS = "ncurses readline"
252a25492cSPatrick Williams
262a25492cSPatrick Williamsinherit autotools ptest
272a25492cSPatrick Williams
282a25492cSPatrick Williamsdo_install_ptest() {
292a25492cSPatrick Williams    install -d ${D}${PTEST_PATH}
30*edff4923SAndrew Geissler    install -m 0644 ${UNPACKDIR}/ptest.out.expected ${D}${PTEST_PATH}/ptest.out.expected
312a25492cSPatrick Williams}
322a25492cSPatrick Williams
33