From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] poke: Add new package
Date: Tue, 10 Oct 2023 08:52:19 +0200 [thread overview]
Message-ID: <20231010065219.43001-4-ada@thorsis.com> (raw)
In-Reply-To: <20231010065219.43001-1-ada@thorsis.com>
Link: https://jemarch.net/poke
Signed-off-by: Alexander Dahl <ada@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 <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
--
2.30.2
next prev parent reply other threads:[~2023-10-10 6:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 6:52 [ptxdist] [PATCH 0/3] " Alexander Dahl
2023-10-10 6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
2023-10-18 7:42 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-10-10 6:52 ` [ptxdist] [PATCH 2/3] bdwgc: " Alexander Dahl
2023-10-18 7:42 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-10-10 6:52 ` Alexander Dahl [this message]
2023-10-18 7:42 ` [ptxdist] [APPLIED] poke: " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231010065219.43001-4-ada@thorsis.com \
--to=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox