diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /dev-util/poke | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-util/poke')
-rw-r--r-- | dev-util/poke/Manifest | 3 | ||||
-rw-r--r-- | dev-util/poke/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/poke/poke-1.0.ebuild | 51 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest new file mode 100644 index 000000000000..21ec03df2fc5 --- /dev/null +++ b/dev-util/poke/Manifest @@ -0,0 +1,3 @@ +DIST poke-1.0.tar.gz 6698818 BLAKE2B 4f66e1e5f2aa1c33bf2b2b823e60662c98fe608f53526f5ea5117f84540c75b7f3196c53fd80858c10e12f3005ccce0ff9a457fba7b439f2fecd4c4bad061bfc SHA512 e7c567e5e14fdd5a45e9568c972ba7c93e2b8810428f16d608e638654890854e3dd49ba5f91c9c49bffe4cc846e1ba823fe1d4c9ac2673cde535cb46c24b5a62 +EBUILD poke-1.0.ebuild 979 BLAKE2B 33b10895f02e85f773e705232d8e2cd063424c2c4cabbc0f29a9a812162decb18f50296d0becdd0dbc08a8becb0bd56f5491fd475cf625a322aad32f9b02f2c4 SHA512 a268a3ec5c3d271dd4857c6a4eb87c0abeb5211f9c09af8ee6ac1ae3d13fa9c2b267ac02b85181cc2590d1eae0ff1e7a961684ea1373656e49923644923ba6df +MISC metadata.xml 373 BLAKE2B 7c574ccfb12bcfae133a365a31a0398e7c555bfd41b59bd031e6453ac40a3f8a100146c234ceee6744e6816a533179cb0acdf8b1b7f3883b547854d7f46367d7 SHA512 ae9674b2b8c7d508c8ff0b8b975dbb469b0a6c5d00bf6262295c5c38b7d2682be22c88fd89ed0a3d2ba70365cc7fd06b584eec0f827f8657d2af368a7136e08c diff --git a/dev-util/poke/metadata.xml b/dev-util/poke/metadata.xml new file mode 100644 index 000000000000..f44bceafc510 --- /dev/null +++ b/dev-util/poke/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>slyfox@gentoo.org</email> + <name>Sergei Trofimovich</name> + </maintainer> + <use> + <flag name='machine-interface'>enable machine-interface protocol using <pkg>dev-libs/json-c</pkg></flag> + </use> +</pkgmetadata> diff --git a/dev-util/poke/poke-1.0.ebuild b/dev-util/poke/poke-1.0.ebuild new file mode 100644 index 000000000000..0397a46a2393 --- /dev/null +++ b/dev-util/poke/poke-1.0.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 see 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 +} |