mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 16:02:39 +01:00
- Add dev-util/radare2-0.9.7
This commit is contained in:
32
dev-util/radare2/radare2-0.9.7.ebuild
Normal file
32
dev-util/radare2/radare2-0.9.7.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
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="debug ewf gmp ssl"
|
||||
|
||||
RDEPEND="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
|
||||
}
|
||||
Reference in New Issue
Block a user