summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-06-06 10:20:46 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-06 10:20:46 +0100
commitf35eb5eeb1522f976216759e70c8ab45bd14e5d9 (patch)
tree2359f2ec6498995372ea99914202dc26e66fd90d /dev-util
parentsys-libs/glibc: stable 2.32-r8 for hppa, bug #793692 (diff)
downloadgentoo-f35eb5eeb1522f976216759e70c8ab45bd14e5d9.tar.gz
gentoo-f35eb5eeb1522f976216759e70c8ab45bd14e5d9.tar.bz2
gentoo-f35eb5eeb1522f976216759e70c8ab45bd14e5d9.zip
dev-util/poke: bump up to 1.3
Package-Manager: Portage-3.0.19, Repoman-3.0.3 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/poke-1.3.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest
index 116043e7ea7..6d1ca78ca1f 100644
--- a/dev-util/poke/Manifest
+++ b/dev-util/poke/Manifest
@@ -1 +1,2 @@
DIST poke-1.2.tar.gz 6772669 BLAKE2B 9b3c8c425145be7c93c32f7931f7aba04ae3704920603f8301b8af31cce49ae12c83a697e74f7cec803508bfd165b7bbb1c5a859ce95a791d291528c31b24245 SHA512 70a4b8749ca53e255df76ca32cc401ba58d5bea2ee1c01730dadfb1d76a6c286f44137805c801e0f1e520c59306568a87efe56d44175ec0510954f97b640d331
+DIST poke-1.3.tar.gz 6703563 BLAKE2B 7a1127d668b094f08d88fbbe1650a4604d91e4417e8bf7e1199757b6a829694d514493e1b71eb86fc56e894eec8f0ec2255784b76a3f3440af1f1671d851751f SHA512 74749c589daf17533807248febc54818445df193f4d25f665ab62f1c57be133c7f063da3b099b8af5544f88eecad79b10ca29d9d1ef18921035c0aa22e563773
diff --git a/dev-util/poke/poke-1.3.ebuild b/dev-util/poke/poke-1.3.ebuild
new file mode 100644
index 00000000000..3683b23922d
--- /dev/null
+++ b/dev-util/poke/poke-1.3.ebuild
@@ -0,0 +1,51 @@
+# 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 static-libs 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) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ if ! use static-libs; then
+ find "${ED}" -name '*.la' -delete || die
+ fi
+}