1*4882a593SmuzhiyunSUMMARY = "GNU poke is an extensible editor for structured binary data" 2*4882a593SmuzhiyunHOMEPAGE = "https://pokology.org" 3*4882a593SmuzhiyunDESCRIPTION = "GNU poke is an interactive, extensible editor for binary data. Not limited to editing basic entities such as bits and bytes, it provides a full-fledged procedural, interactive programming language designed to describe data structures and to operate on them." 4*4882a593SmuzhiyunSECTION = "console/utils" 5*4882a593SmuzhiyunLICENSE = "GPL-3.0-or-later" 6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunSRC_URI = "${GNU_MIRROR}/poke/poke-${PV}.tar.gz \ 9*4882a593Smuzhiyun file://0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch \ 10*4882a593Smuzhiyun file://0002-jitter-jitter-config.in-avoit-host-poisoning-while-c.patch \ 11*4882a593Smuzhiyun file://0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch \ 12*4882a593Smuzhiyun " 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunDEPENDS = "flex-native bison-native bdwgc readline" 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunSRC_URI[sha256sum] = "f61cf8da5b64c01a1359373725aad1ca257f35c1c9269e4d50dd0664183ddf62" 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun# poke does not support using out-of-tree builds 19*4882a593Smuzhiyuninherit autotools-brokensep gettext pkgconfig 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun# The automatic m4 path detection gets confused, so force the right value from 22*4882a593Smuzhiyun# the poke bootstrap script. 23*4882a593Smuzhiyunacpaths = "-I ./m4" 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunEXTRA_OECONF = "--disable-gui \ 26*4882a593Smuzhiyun --disable-libnbd \ 27*4882a593Smuzhiyun --with-libreadline-prefix=${STAGING_INCDIR} \ 28*4882a593Smuzhiyun " 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunPACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c" 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunFILES:${PN} += "${datadir}/emacs/site-lisp" 33