From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE6B41382C5 for ; Mon, 19 Apr 2021 23:41:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 022ACE0821; Mon, 19 Apr 2021 23:41:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CADF5E0821 for ; Mon, 19 Apr 2021 23:41:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87C30335D46 for ; Mon, 19 Apr 2021 23:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9B6F64A for ; Mon, 19 Apr 2021 23:41:14 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1618875672.87fd888b4494bfd57653a0ea49e5f1e1d76f015d.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/poke/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/poke/Manifest dev-util/poke/poke-1.2.ebuild X-VCS-Directories: dev-util/poke/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 87fd888b4494bfd57653a0ea49e5f1e1d76f015d X-VCS-Branch: master Date: Mon, 19 Apr 2021 23:41:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c471d207-a25c-42f0-b534-770b1ada9fa0 X-Archives-Hash: 55e2d94f332f941d3cad803d27788e03 commit: 87fd888b4494bfd57653a0ea49e5f1e1d76f015d Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Apr 19 23:40:55 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Apr 19 23:41:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87fd888b dev-util/poke: bump up to 1.2 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/poke/Manifest | 1 + dev-util/poke/poke-1.2.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest index 51699f74380..306cbaa13e5 100644 --- a/dev-util/poke/Manifest +++ b/dev-util/poke/Manifest @@ -1 +1,2 @@ DIST poke-1.1.tar.gz 6754840 BLAKE2B bc7c8562ee918dec3d40219bf3d02220b9ec4934c816620c69d987446375bf69036dda12a91115404b9beed02200262429080320a66e7cc2358eba63a48d5b8d SHA512 ffcc7be254c326947b5e20bb8d659f6d0396bcef6fea8da1b47106dce1670703730d365a5090bfc2c31cf29c1cc7a3c6ad1b5d4022a1ebe1adbe43a33ff45baa +DIST poke-1.2.tar.gz 6772669 BLAKE2B 9b3c8c425145be7c93c32f7931f7aba04ae3704920603f8301b8af31cce49ae12c83a697e74f7cec803508bfd165b7bbb1c5a859ce95a791d291528c31b24245 SHA512 70a4b8749ca53e255df76ca32cc401ba58d5bea2ee1c01730dadfb1d76a6c286f44137805c801e0f1e520c59306568a87efe56d44175ec0510954f97b640d331 diff --git a/dev-util/poke/poke-1.2.ebuild b/dev-util/poke/poke-1.2.ebuild new file mode 100644 index 00000000000..3683b23922d --- /dev/null +++ b/dev-util/poke/poke-1.2.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 +}