diff options
author | Alexander Dahl <ada@thorsis.com> | 2023-10-10 08:52:19 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2023-10-12 14:55:43 +0200 |
commit | e6ec9f74f041658f3453f3b7ec4ba4b90e854f26 (patch) | |
tree | 3ff83f863c234229f12c85e4b6d304f09a091ba4 | |
parent | 966e139cd2b09c144591f7a7d0472938a8d1bd83 (diff) | |
download | ptxdist-e6ec9f74f041658f3453f3b7ec4ba4b90e854f26.tar.gz ptxdist-e6ec9f74f041658f3453f3b7ec4ba4b90e854f26.tar.xz |
poke: Add new package
Link: https://jemarch.net/poke
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Message-Id: <20231010065219.43001-4-ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/poke.in | 17 | ||||
-rw-r--r-- | rules/poke.make | 71 |
2 files changed, 88 insertions, 0 deletions
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 <ada@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 <ada@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 |