Files
Wang Mingyu e7aac7b931 poke: upgrade 4.3 -> 5.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-20 11:10:54 -07:00

39 lines
1.6 KiB
BlitzBasic

SUMMARY = "GNU poke is an extensible editor for structured binary data"
HOMEPAGE = "https://pokology.org"
DESCRIPTION = "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."
SECTION = "console/utils"
LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "${GNU_MIRROR}/poke/poke-${PV}.tar.gz \
file://0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch \
file://0001-fix-format-security.patch \
"
DEPENDS = "flex-native bison-native bdwgc readline"
SRC_URI[sha256sum] = "6873d59abe821c8111b88623ea7ad9e090892fa95c75562606dd88374e2f5b8f"
UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/poke/"
UPSTREAM_CHECK_REGEX = "poke-(?P<pver>\d+(\.\d+)+)\.tar"
inherit autotools gettext pkgconfig
EXTRA_OECONF = "--disable-gui \
--disable-libnbd \
--with-libreadline-prefix=${STAGING_INCDIR} \
"
# The bundled jitter sub-configure runs a gnulib AC_RUN_IFELSE test for
# strcasecmp which aborts under cross compilation; provide the cached result.
CACHED_CONFIGUREVARS += "gl_cv_func_strcasecmp_works=yes"
PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c"
PACKAGES =+ "${PN}-emacs ${PN}-vim"
# Disable parallel install as it is not supported upstream
PARALLEL_MAKEINST = "-j1"
FILES:${PN}-emacs += "${datadir}/emacs/site-lisp"
FILES:${PN}-vim += "${datadir}/vim/vimfiles"