Link: https://jemarch.net/poke Signed-off-by: Alexander Dahl <a...@thorsis.com> --- rules/poke.in | 17 ++++++++++++ rules/poke.make | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 rules/poke.in create mode 100644 rules/poke.make
diff --git a/rules/poke.in b/rules/poke.in new file mode 100644 index 000000000..6b1637716 --- /dev/null +++ b/rules/poke.in @@ -0,0 +1,17 @@ +## SECTION=editors + +config POKE + tristate + prompt "poke" + select BDWGC + select NCURSES + select READLINE + help + 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. + https://jemarch.net/poke + +# vim: ft=kconfig noet tw=72 ts=8 sw=8 diff --git a/rules/poke.make b/rules/poke.make new file mode 100644 index 000000000..bfd67396c --- /dev/null +++ b/rules/poke.make @@ -0,0 +1,71 @@ +# -*-makefile-*- +# +# Copyright (C) 2023 by Alexander Dahl <a...@thorsis.com> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_POKE) += poke + +# +# Paths and names +# +POKE_VERSION := 3.3 +POKE_MD5 := 25461e6e9032fa4d3ed089576990c159 +POKE := poke-$(POKE_VERSION) +POKE_SUFFIX := tar.gz +POKE_URL := $(call ptx/mirror, GNU, poke/$(POKE).$(POKE_SUFFIX)) +POKE_SOURCE := $(SRCDIR)/$(POKE).$(POKE_SUFFIX) +POKE_DIR := $(BUILDDIR)/$(POKE) +POKE_LICENSE := GPL-3.0-or-later +POKE_LICENSE_FILES := \ + file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://jitter/COPYING;md5=d32239bcb673463ab874e80d47fae504 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +POKE_CONF_TOOL := autoconf +POKE_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --enable-threads=posix \ + --disable-rpath \ + --enable-curses \ + --disable-nls \ + --disable-pvm-profiling \ + --disable-libnbd \ + --enable-hserver \ + --$(call ptx/endis, PTXDIST_Y2038)-year2038 \ + --$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-largefile \ + --with-libreadline-prefix="$(PTXDIST_SYSROOT_TARGET)/usr" \ + --with-jitter-dispatch=best \ + --without-vimdir \ + --without-lispdir + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/poke.targetinstall: + @$(call targetinfo) + + @$(call install_init, poke) + @$(call install_fixup, poke,PRIORITY,optional) + @$(call install_fixup, poke,SECTION,base) + @$(call install_fixup, poke,AUTHOR,"Alexander Dahl <a...@thorsis.com>") + @$(call install_fixup, poke,DESCRIPTION,missing) + + @$(call install_lib, poke, 0, 0, 0644, libpoke) + @$(call install_copy, poke, 0, 0, 0755, -, /usr/bin/poke) + @$(call install_tree, poke, 0, 0, -, /usr/share/poke) + + @$(call install_finish, poke) + + @$(call touch) + +# vim: ft=make noet tw=72 ts=8 sw=8 -- 2.30.2