public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/
Date: Tue, 28 Nov 2017 21:09:07 +0000 (UTC)	[thread overview]
Message-ID: <1511903209.7b9e497628a324e7b2291cf0dd79a73b4dd66757.slyfox@gentoo> (raw)

commit:     7b9e497628a324e7b2291cf0dd79a73b4dd66757
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Nov 27 20:52:53 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Nov 28 21:06:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b9e4976

dev-util/radare2: add bash-completion support

Closes: https://github.com/gentoo/gentoo/pull/6327

 dev-util/radare2/radare2-2.1.0-r1.ebuild | 60 ++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/dev-util/radare2/radare2-2.1.0-r1.ebuild b/dev-util/radare2/radare2-2.1.0-r1.ebuild
new file mode 100644
index 00000000000..f69a9666f3b
--- /dev/null
+++ b/dev-util/radare2/radare2-2.1.0-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils bash-completion-r1
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/radare/radare2"
+else
+	SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86 ~arm ~arm64"
+fi
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.9.9-nogit.patch
+)
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ssl +system-capstone zsh-completion bash-completion"
+
+RDEPEND="
+	ssl? ( dev-libs/openssl:0= )
+	system-capstone? ( dev-libs/capstone:0= )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"
+
+src_configure() {
+	econf \
+		$(use_with ssl openssl) \
+		$(use_with system-capstone syscapstone)
+}
+
+src_install() {
+	default
+
+	if use zsh-completion; then
+		insinto /usr/share/zsh/site-functions
+		doins doc/zsh/_*
+	fi
+
+	if use bash-completion; then
+		newbashcomp doc/bash_autocompletion.sh "${PN}"
+	fi
+
+	# a workaround for unstable $(INSTALL) call, bug #574866
+	local d
+	for d in doc/*; do
+		if [[ -d $d ]]; then
+			rm -rfv "$d" || die "failed to delete '$d'"
+		fi
+	done
+}


             reply	other threads:[~2017-11-28 21:09 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28 21:09 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-14  7:14 [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/ Joonas Niilola
2024-07-27  7:06 Joonas Niilola
2024-06-19 18:19 John Helmert III
2024-04-14 16:09 Matthew Smith
2024-04-14 16:09 Matthew Smith
2023-06-18 19:02 John Helmert III
2023-06-17 20:12 John Helmert III
2023-06-09  4:43 John Helmert III
2023-05-27  7:49 Joonas Niilola
2023-01-23  3:37 John Helmert III
2022-10-02 14:53 Florian Schmaus
2022-09-07 18:55 John Helmert III
2022-09-07 18:55 John Helmert III
2022-08-11 10:55 Sam James
2022-07-16 16:51 John Helmert III
2022-05-11  2:11 Sam James
2022-04-26  5:51 Joonas Niilola
2022-04-26  5:51 Joonas Niilola
2022-04-25  6:57 Joonas Niilola
2021-07-23  8:05 Sergei Trofimovich
2021-07-23  7:33 Sergei Trofimovich
2021-06-19  9:01 Sergei Trofimovich
2021-06-11 21:01 Sergei Trofimovich
2021-06-11 21:01 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-01 20:44 Sergei Trofimovich
2021-04-24 23:11 Sergei Trofimovich
2021-04-24 12:37 Sergei Trofimovich
2021-04-12 22:50 Sam James
2021-02-12  8:22 Sergei Trofimovich
2021-02-11 22:57 Sergei Trofimovich
2021-01-28  8:09 Sergei Trofimovich
2021-01-27  7:31 Sergei Trofimovich
2021-01-23 11:28 Sergei Trofimovich
2020-12-26 19:26 Sergei Trofimovich
2020-12-24 18:00 Sergei Trofimovich
2020-12-24 18:00 Sergei Trofimovich
2020-10-18 12:31 Sergei Trofimovich
2020-09-03 22:28 Sergei Trofimovich
2020-07-18 22:23 Sergei Trofimovich
2020-05-29 22:13 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-14  8:19 Sergei Trofimovich
2020-03-06  9:06 Sergei Trofimovich
2020-03-05 17:52 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2020-02-02 14:47 Sergei Trofimovich
2020-02-02 14:47 Sergei Trofimovich
2020-01-22 22:14 Sergei Trofimovich
2019-10-29 22:29 Sergei Trofimovich
2019-09-17 21:48 Sergei Trofimovich
2019-09-17 21:48 Sergei Trofimovich
2019-09-03 18:38 Sergei Trofimovich
2019-08-14 21:35 Sergei Trofimovich
2019-06-24 22:10 Sergei Trofimovich
2019-06-22  8:21 Sergei Trofimovich
2019-05-16 19:56 Sergei Trofimovich
2019-05-14  7:15 Sergei Trofimovich
2019-05-14  7:00 Sergei Trofimovich
2019-04-09 21:44 Sergei Trofimovich
2019-04-03 22:17 Sergei Trofimovich
2019-04-03 22:17 Sergei Trofimovich
2019-02-20 21:42 Sergei Trofimovich
2019-01-15 21:38 Sergei Trofimovich
2019-01-15 21:38 Sergei Trofimovich
2019-01-12 15:18 Sergei Trofimovich
2018-12-04 23:43 Sergei Trofimovich
2018-12-04  8:36 Sergei Trofimovich
2018-12-03 21:51 Sergei Trofimovich
2018-12-03 21:51 Sergei Trofimovich
2018-12-03  8:24 Sergei Trofimovich
2018-11-26 22:20 Sergei Trofimovich
2018-11-26 22:20 Sergei Trofimovich
2018-10-21  9:26 Sergei Trofimovich
2018-10-16 22:23 Sergei Trofimovich
2018-10-16 22:23 Sergei Trofimovich
2018-08-08  6:26 Sergei Trofimovich
2018-07-09 21:14 Sergei Trofimovich
2018-06-21  7:01 Sergei Trofimovich
2018-04-28 10:03 Sergei Trofimovich
2018-04-10  6:38 Sergei Trofimovich
2018-04-10  6:38 Sergei Trofimovich
2018-03-06  8:07 Sergei Trofimovich
2018-02-15 18:07 Sergei Trofimovich
2017-12-25 11:01 Sergei Trofimovich
2017-12-24 10:28 Anthony G. Basile
2017-12-10 15:00 Sergei Trofimovich
2017-11-27 22:55 Sergei Trofimovich
2017-10-28 22:15 Sergei Trofimovich
2017-10-12 17:34 Sergei Trofimovich
2017-10-12 11:14 Sergei Trofimovich
2017-10-12 11:14 Sergei Trofimovich
2017-09-10 17:18 Sergei Trofimovich
2017-09-10 17:18 Sergei Trofimovich
2017-09-10 16:45 Sergei Trofimovich
2017-07-29 20:47 Sergei Trofimovich
2017-04-18 20:17 Sergei Trofimovich
2017-03-13 21:15 Sergei Trofimovich
2017-01-30 21:07 Sergei Trofimovich
2016-12-21  9:32 Sergei Trofimovich
2016-11-10 22:06 Sergei Trofimovich
2016-11-10 22:06 Sergei Trofimovich
2016-09-27  8:21 Sergei Trofimovich
2016-08-22  8:55 Sergei Trofimovich
2016-07-07 22:06 Sergei Trofimovich
2016-07-07 22:06 Sergei Trofimovich
2016-05-25 19:51 Sergei Trofimovich
2016-04-12 22:07 Sergei Trofimovich
2016-04-12 22:07 Sergei Trofimovich
2016-03-12 15:49 Sergei Trofimovich
2016-02-18 23:21 Sergei Trofimovich
2016-02-06 10:36 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1511903209.7b9e497628a324e7b2291cf0dd79a73b4dd66757.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox