summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-03-25 20:31:16 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-03-25 20:31:44 +0000
commitb94e80ce1859ce62e6b4e36d5552d258467b6d0a (patch)
tree5c476749a157488655f08359d0ad8a1abfa66689 /dev-util/poke
parentprofiles/updates: rename distorm64 to distorm3 (diff)
downloadgentoo-b94e80ce1859ce62e6b4e36d5552d258467b6d0a.tar.gz
gentoo-b94e80ce1859ce62e6b4e36d5552d258467b6d0a.tar.bz2
gentoo-b94e80ce1859ce62e6b4e36d5552d258467b6d0a.zip
dev-util/poke: bump up to 1.1
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/poke')
-rw-r--r--dev-util/poke/Manifest1
-rw-r--r--dev-util/poke/poke-1.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest
index 2e4f30c1381e..96f34cb9078f 100644
--- a/dev-util/poke/Manifest
+++ b/dev-util/poke/Manifest
@@ -1 +1,2 @@
DIST poke-1.0.tar.gz 6698818 BLAKE2B 4f66e1e5f2aa1c33bf2b2b823e60662c98fe608f53526f5ea5117f84540c75b7f3196c53fd80858c10e12f3005ccce0ff9a457fba7b439f2fecd4c4bad061bfc SHA512 e7c567e5e14fdd5a45e9568c972ba7c93e2b8810428f16d608e638654890854e3dd49ba5f91c9c49bffe4cc846e1ba823fe1d4c9ac2673cde535cb46c24b5a62
+DIST poke-1.1.tar.gz 6754840 BLAKE2B bc7c8562ee918dec3d40219bf3d02220b9ec4934c816620c69d987446375bf69036dda12a91115404b9beed02200262429080320a66e7cc2358eba63a48d5b8d SHA512 ffcc7be254c326947b5e20bb8d659f6d0396bcef6fea8da1b47106dce1670703730d365a5090bfc2c31cf29c1cc7a3c6ad1b5d4022a1ebe1adbe43a33ff45baa
diff --git a/dev-util/poke/poke-1.1.ebuild b/dev-util/poke/poke-1.1.ebuild
new file mode 100644
index 000000000000..0293e5f95c0d
--- /dev/null
+++ b/dev-util/poke/poke-1.1.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
+}