summaryrefslogtreecommitdiff
path: root/dev-util/poke
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-util/poke
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-util/poke')
-rw-r--r--dev-util/poke/Manifest2
-rw-r--r--dev-util/poke/poke-2.1.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest
index fde71dc0fe30..6e7d86ef4d6c 100644
--- a/dev-util/poke/Manifest
+++ b/dev-util/poke/Manifest
@@ -1,3 +1,5 @@
DIST poke-1.3.tar.gz 6703563 BLAKE2B 7a1127d668b094f08d88fbbe1650a4604d91e4417e8bf7e1199757b6a829694d514493e1b71eb86fc56e894eec8f0ec2255784b76a3f3440af1f1671d851751f SHA512 74749c589daf17533807248febc54818445df193f4d25f665ab62f1c57be133c7f063da3b099b8af5544f88eecad79b10ca29d9d1ef18921035c0aa22e563773
+DIST poke-2.1.tar.gz 7365471 BLAKE2B 07f9e55fb5ee830e430ef7987cf65df9448dcb7d3ccec3da24b06c52a695e104f308c14fb9140008476e1ac4ebc6ea86011a6a5ab332af27df92d7c4d2165fd4 SHA512 073ba79c627d6b20811443146e9f3c5884a349eceabfd5b3648b95bf7bb2d4da749b628994240556e987cb02247d11e2fd7d54adb99d81e35d838dbddad67f9f
EBUILD poke-1.3.ebuild 981 BLAKE2B f8832e1bf8533caa2636b076b0bf3ba9d42b2c3fdde0f411609c337b874afae0b8c367caecd23546c2f0c198dbb06e2ff1e239f7d8f6c08a3fad664241bc3847 SHA512 821b8837f1d07aa245c0a02acda9aa9dc4b098860049f5a315df0d7e78f3dddc4bdb9e134f03b42ce01321c17250cd662cdcb2fe3f1c9311efab4f12889f6921
+EBUILD poke-2.1.ebuild 891 BLAKE2B 3f9292092d07b96bcaf1accdf7b2aaa119312de5612bf4a84b47a08fcdc3bacbb8e4cbadd1b25514a964248ce49559628c43ac8a322f2ee0cf18ade6b5b45cf2 SHA512 7e2673670860d3f7222e822c1b8a4b23dc432725c37da79e9ffd9d03b862a1f271528a397bcedbaf299587205c539c5f192932276bd0f0965172d450094ae48e
MISC metadata.xml 290 BLAKE2B 07560f09c179b5ae7616989203f0f211b6dbd98f91d9ed22354b6b9dd7f7177faf0a392822f6e4b35e76842fff006fb5102782a5f9c37bd75bf5c8b151b96443 SHA512 282117250988d57f5a2f01c59ec3f9c1e2ccacb65049de1fee95598abb3de04dcd671e9697e5451dc998866a28e8c7fa8e691150a0a32a9d7f13972a138aa91d
diff --git a/dev-util/poke/poke-2.1.ebuild b/dev-util/poke/poke-2.1.ebuild
new file mode 100644
index 000000000000..ed0110ced2d7
--- /dev/null
+++ b/dev-util/poke/poke-2.1.ebuild
@@ -0,0 +1,42 @@
+# 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"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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
+}