diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-03-07 11:23:33 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-03-07 11:23:33 +0000 |
commit | 073b11cb19453d13ae6023b7819298415b27f1c3 (patch) | |
tree | d4e6c04d3067a2a973b4ca1751e96526c10d3491 /dev-util | |
parent | Remove calls to get_ml_incdir, bug 357739. (diff) | |
download | gentoo-2-073b11cb19453d13ae6023b7819298415b27f1c3.tar.gz gentoo-2-073b11cb19453d13ae6023b7819298415b27f1c3.tar.bz2 gentoo-2-073b11cb19453d13ae6023b7819298415b27f1c3.zip |
Revision bump to work with valac-0.10 as tested myself (this is more future proof, bug #338067).
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/radare/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/radare/radare-1.5.2-r1.ebuild | 50 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-util/radare/ChangeLog b/dev-util/radare/ChangeLog index 8270fd6ade69..436615acdd32 100644 --- a/dev-util/radare/ChangeLog +++ b/dev-util/radare/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/radare # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/radare/ChangeLog,v 1.18 2011/03/05 02:35:34 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/radare/ChangeLog,v 1.19 2011/03/07 11:23:33 pacho Exp $ + +*radare-1.5.2-r1 (07 Mar 2011) + + 07 Mar 2011; Pacho Ramos <pacho@gentoo.org> +radare-1.5.2-r1.ebuild: + Revision bump to work with valac-0.10 as tested myself (this is more future + proof, bug #338067). *radare-1.5.2 (05 Mar 2011) diff --git a/dev-util/radare/radare-1.5.2-r1.ebuild b/dev-util/radare/radare-1.5.2-r1.ebuild new file mode 100644 index 000000000000..9b864f85bf8a --- /dev/null +++ b/dev-util/radare/radare-1.5.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/radare/radare-1.5.2-r1.ebuild,v 1.1 2011/03/07 11:23:33 pacho Exp $ + +EAPI="3" +inherit base eutils + +DESCRIPTION="Advanced command line hexadecimal 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 readline" + +RDEPEND=" + dev-lang/python + dev-lang/perl + gui? ( + x11-libs/gtk+:2 + x11-libs/vte ) + lua? ( dev-lang/lua ) + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + gui? ( >=dev-lang/vala-0.5:0.10 )" + +src_prepare() { + base_src_prepare + epatch "${FILESDIR}"/${PN}-1.5-ldflags.patch \ + "${FILESDIR}"/${PN}-1.5-more-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_configure() { + VALAC=$(type -P valac-0.10) econf \ + $(use_with readline) \ + $(use_with gui) +} + +src_compile() { + emake -j1 || die "compile failed" +} + +src_install() { + emake DESTDIR="${ED}" install || die "install failed" +} |