summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Eisele <kernlpanic@dennis-eisele.de>2022-02-22 23:58:34 +0100
committerSam James <sam@gentoo.org>2022-02-23 03:50:04 +0000
commitc60873de69de7668bc3bdeb659d3702366be0607 (patch)
tree57de841c762c233e448c404409fed191ac6eaa1b /dev-util/poke
parentapp-text/lesspipe: fix OutdatedBlocker (diff)
downloadgentoo-c60873de69de7668bc3bdeb659d3702366be0607.tar.gz
gentoo-c60873de69de7668bc3bdeb659d3702366be0607.tar.bz2
gentoo-c60873de69de7668bc3bdeb659d3702366be0607.zip
dev-util/poke: bump version to 2.1
Closes: https://bugs.gentoo.org/828835 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Dennis Eisele <kernlpanic@dennis-eisele.de> Closes: https://github.com/gentoo/gentoo/pull/24307 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/poke')
-rw-r--r--dev-util/poke/Manifest1
-rw-r--r--dev-util/poke/poke-2.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest
index 03ba7e37a073..00b13029714c 100644
--- a/dev-util/poke/Manifest
+++ b/dev-util/poke/Manifest
@@ -1 +1,2 @@
DIST poke-1.3.tar.gz 6703563 BLAKE2B 7a1127d668b094f08d88fbbe1650a4604d91e4417e8bf7e1199757b6a829694d514493e1b71eb86fc56e894eec8f0ec2255784b76a3f3440af1f1671d851751f SHA512 74749c589daf17533807248febc54818445df193f4d25f665ab62f1c57be133c7f063da3b099b8af5544f88eecad79b10ca29d9d1ef18921035c0aa22e563773
+DIST poke-2.1.tar.gz 7365471 BLAKE2B 07f9e55fb5ee830e430ef7987cf65df9448dcb7d3ccec3da24b06c52a695e104f308c14fb9140008476e1ac4ebc6ea86011a6a5ab332af27df92d7c4d2165fd4 SHA512 073ba79c627d6b20811443146e9f3c5884a349eceabfd5b3648b95bf7bb2d4da749b628994240556e987cb02247d11e2fd7d54adb99d81e35d838dbddad67f9f
diff --git a/dev-util/poke/poke-2.1.ebuild b/dev-util/poke/poke-2.1.ebuild
new file mode 100644
index 000000000000..0872e7e107ea
--- /dev/null
+++ b/dev-util/poke/poke-2.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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: does not seem to do anything :)
+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) \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}