1*2a25492cSPatrick WilliamsSUMMARY = "Bitwise terminal calculator"
2*2a25492cSPatrick WilliamsDESCRIPTION = "Bitwise is multi base interactive calculator \
3*2a25492cSPatrick Williamssupporting dynamic base conversion and bit manipulation.\
4*2a25492cSPatrick WilliamsIt's a handy tool for low level hackers, \
5*2a25492cSPatrick Williamskernel developers and device drivers developers."
6*2a25492cSPatrick Williams
7*2a25492cSPatrick WilliamsHOMEPAGE = "https://github.com/mellowcandle/bitwise"
8*2a25492cSPatrick WilliamsSECTION = "console/utils"
9*2a25492cSPatrick Williams
10*2a25492cSPatrick WilliamsLICENSE = "GPL-3.0-only"
11*2a25492cSPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
12*2a25492cSPatrick Williams
13*2a25492cSPatrick WilliamsSRC_URI = "https://github.com/mellowcandle/bitwise/releases/download/v${PV}/bitwise-v${PV}.tar.gz \
14*2a25492cSPatrick Williams           file://0001-makefile.am-Fix-build-when-build-dir-is-not-same-as-.patch \
15*2a25492cSPatrick Williams           file://run-ptest \
16*2a25492cSPatrick Williams           file://ptest.out.expected \
17*2a25492cSPatrick Williams           "
18*2a25492cSPatrick WilliamsSRC_URI[sha256sum] = "806271fa5bf31de0600315e8720004a8f529954480e991ca84a9868dc1cae97e"
19*2a25492cSPatrick Williams
20*2a25492cSPatrick WilliamsUPSTREAM_CHECK_URI = "https://github.com/mellowcandle/bitwise/releases"
21*2a25492cSPatrick Williams
22*2a25492cSPatrick WilliamsS = "${WORKDIR}/${BPN}-v${PV}"
23*2a25492cSPatrick Williams
24*2a25492cSPatrick WilliamsDEPENDS = "ncurses readline"
25*2a25492cSPatrick Williams
26*2a25492cSPatrick Williamsinherit autotools ptest
27*2a25492cSPatrick Williams
28*2a25492cSPatrick Williamsdo_install_ptest() {
29*2a25492cSPatrick Williams    install -d ${D}${PTEST_PATH}
30*2a25492cSPatrick Williams    install -m 0644 ${WORKDIR}/ptest.out.expected ${D}${PTEST_PATH}/ptest.out.expected
31*2a25492cSPatrick Williams}
32*2a25492cSPatrick Williams
33