mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 09:32:37 +01:00
33 lines
727 B
Bash
33 lines
727 B
Bash
# 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
|
|
}
|