summaryrefslogtreecommitdiff
blob: 972f3c1a365f5373da112ea2010f2091d463fcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

is_live() { [[ ${PV} == 9999* ]]; }

is_live && inherit git-r3

DESCRIPTION="Advanced command line hexadecimal editor and more"
HOMEPAGE="http://www.radare.org"
is_live || SRC_URI="http://www.radare.org/get/${P}.tar.xz"
EGIT_REPO_URI="https://github.com/radare/radare2"

LICENSE="GPL-2"
SLOT="0"
IUSE="debug ssl"

RDEPEND="
	ssl? ( dev-libs/openssl:= )
"
DEPEND="${RDEPEND}
	virtual/pkgconfig
"

src_configure() {
	econf \
		$(use_with ssl openssl) \
		$(use_enable debug)
}