mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-19 14:54:41 +01:00
32 lines
875 B
Bash
32 lines
875 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/radare2/radare2-0.9.ebuild,v 2.0 2012/04/04 06:20:21 akochkov Exp $
|
|
|
|
EAPI=5
|
|
inherit base eutils
|
|
|
|
DESCRIPTION="Advanced command line hexadecimal editor and more"
|
|
HOMEPAGE="http://www.radare.org"
|
|
SRC_URI="http://www.radare.org/get/${P}.tar.xz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="capstone debug ewf gmp ssl"
|
|
|
|
RDEPEND="capstone? ( dev-util/radare2-capstone )
|
|
gmp? ( dev-libs/gmp:= )
|
|
ssl? ( dev-libs/openssl:= )"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
econf $(use ssl || echo --without-ssl ) \
|
|
$(use gmp || echo --without-gmp ) \
|
|
$(use ewf || echo --without-ewf ) \
|
|
$(use debug || echo --without-debug )
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" INSTALL_PROGRAM="install" install
|
|
}
|