diff options
author | 2010-06-24 12:39:39 +0000 | |
---|---|---|
committer | 2010-06-24 12:39:39 +0000 | |
commit | 1738f6d267fb03be72428740de426dbaa04cd708 (patch) | |
tree | 8f6ee6945523b657328123c7924be761f7af3fd6 /dev-util/radare/radare-1.5-r1.ebuild | |
parent | last rite app-misc/gato (diff) | |
download | gentoo-2-1738f6d267fb03be72428740de426dbaa04cd708.tar.gz gentoo-2-1738f6d267fb03be72428740de426dbaa04cd708.tar.bz2 gentoo-2-1738f6d267fb03be72428740de426dbaa04cd708.zip |
Respect LDFLAGS, fix documentation installation wrt bug #296746
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/radare/radare-1.5-r1.ebuild')
-rw-r--r-- | dev-util/radare/radare-1.5-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/radare/radare-1.5-r1.ebuild b/dev-util/radare/radare-1.5-r1.ebuild new file mode 100644 index 000000000000..5e2ebc38c91a --- /dev/null +++ b/dev-util/radare/radare-1.5-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/radare/radare-1.5-r1.ebuild,v 1.1 2010/06/24 12:39:39 hwoarang Exp $ + +inherit eutils + +DESCRIPTION="Advanced command line hexadecimail editor and more" +HOMEPAGE="http://www.radare.org" +SRC_URI="http://www.radare.org/get/radare-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="gui lua vala" + +DEPEND="sys-libs/readline + dev-lang/python + lua? ( dev-lang/lua ) + vala? ( dev-lang/vala ) + " +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ldflags.patch + # fix documentation installation + sed -i "s:doc/${PN}:doc/${PF}:g" \ + Makefile.acr global.h.acr src/Makefile.acr wscript dist/maemo/Makefile +} + +src_compile() { + econf $(use_with gui) || die "configure failed" + emake -j1 || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} |