summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-02-26 19:58:53 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-02-26 19:59:05 +0000
commitffb05d4873b9e016eae8214a675f75ed482c6f83 (patch)
treed211b0a13b292a5594392acb230250e42369c385 /dev-util
parentapp-benchmarks/stress-ng: drop old version (diff)
downloadgentoo-ffb05d4873b9e016eae8214a675f75ed482c6f83.tar.gz
gentoo-ffb05d4873b9e016eae8214a675f75ed482c6f83.tar.bz2
gentoo-ffb05d4873b9e016eae8214a675f75ed482c6f83.zip
dev-util/poke: new package
Extensible editor for structured binary data. Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/poke/Manifest1
-rw-r--r--dev-util/poke/metadata.xml11
-rw-r--r--dev-util/poke/poke-1.0.ebuild41
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest
new file mode 100644
index 000000000000..2e4f30c1381e
--- /dev/null
+++ b/dev-util/poke/Manifest
@@ -0,0 +1 @@
+DIST poke-1.0.tar.gz 6698818 BLAKE2B 4f66e1e5f2aa1c33bf2b2b823e60662c98fe608f53526f5ea5117f84540c75b7f3196c53fd80858c10e12f3005ccce0ff9a457fba7b439f2fecd4c4bad061bfc SHA512 e7c567e5e14fdd5a45e9568c972ba7c93e2b8810428f16d608e638654890854e3dd49ba5f91c9c49bffe4cc846e1ba823fe1d4c9ac2673cde535cb46c24b5a62
diff --git a/dev-util/poke/metadata.xml b/dev-util/poke/metadata.xml
new file mode 100644
index 000000000000..f44bceafc510
--- /dev/null
+++ b/dev-util/poke/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
+ <use>
+ <flag name='machine-interface'>enable machine-interface protocol using <pkg>dev-libs/json-c</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-util/poke/poke-1.0.ebuild b/dev-util/poke/poke-1.0.ebuild
new file mode 100644
index 000000000000..15e83b534afd
--- /dev/null
+++ b/dev-util/poke/poke-1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="extensible editor for structured binary data"
+HOMEPAGE="http://www.jemarch.net/poke"
+
+SRC_URI="mirror://gnu/poke/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="machine-interface nls test"
+
+RESTRICT="!test? ( test )"
+
+# TODO: libnbd: not packaged in gentoo yet
+# TODO: gui: tcl/json not packaged in gentoo yet
+RDEPEND="
+ dev-libs/boehm-gc:=
+ sys-devel/gettext
+ sys-libs/readline:=
+ machine-interface? ( dev-libs/json-c:= )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-util/dejagnu )
+"
+BDEPEND="
+ sys-devel/flex
+ sys-devel/bison
+ sys-apps/help2man
+ virtual/pkgconfig
+"
+
+src_configure() {
+ econf \
+ --disable-gui \
+ --disable-libnbd \
+ $(use_enable machine-interface mi)
+}