diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-06-15 21:19:11 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-06-15 21:19:11 +0000 |
commit | ff2d4f96a9c368416f007dbc723a7ecc01239215 (patch) | |
tree | 4ce937b68d0572f13856598c3ce7f03b763d1c82 /sys-apps/dtc | |
parent | Version bump (diff) | |
download | gentoo-2-ff2d4f96a9c368416f007dbc723a7ecc01239215.tar.gz gentoo-2-ff2d4f96a9c368416f007dbc723a7ecc01239215.tar.bz2 gentoo-2-ff2d4f96a9c368416f007dbc723a7ecc01239215.zip |
Version bump; remove -Werror and pre-defined CFLAGS; bump to EAPI=4; use parallel make for tests as well.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/dtc')
-rw-r--r-- | sys-apps/dtc/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.3.0.ebuild | 46 |
2 files changed, 53 insertions, 1 deletions
diff --git a/sys-apps/dtc/ChangeLog b/sys-apps/dtc/ChangeLog index eef32769af91..4af8abde9582 100644 --- a/sys-apps/dtc/ChangeLog +++ b/sys-apps/dtc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/dtc # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/ChangeLog,v 1.8 2011/01/05 20:24:54 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/ChangeLog,v 1.9 2011/06/15 21:19:11 flameeyes Exp $ + +*dtc-1.3.0 (15 Jun 2011) + + 15 Jun 2011; Diego E. Pettenò <flameeyes@gentoo.org> +dtc-1.3.0.ebuild: + Version bump; remove -Werror and pre-defined CFLAGS; bump to EAPI=4; use + parallel make for tests as well. 05 Jan 2011; Markos Chandras <hwoarang@gentoo.org> dtc-1.2.0.ebuild: Stable on amd64 wrt bug #346681 diff --git a/sys-apps/dtc/dtc-1.3.0.ebuild b/sys-apps/dtc/dtc-1.3.0.ebuild new file mode 100644 index 000000000000..0d3d18300180 --- /dev/null +++ b/sys-apps/dtc/dtc-1.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/dtc-1.3.0.ebuild,v 1.1 2011/06/15 21:19:11 flameeyes Exp $ + +EAPI=4 +inherit toolchain-funcs + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Open Firmware device-trees compiler" +HOMEPAGE="http://www.t2-project.org/packages/dtc.html" +SRC_URI="http://www.jdl.com/software/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="sys-devel/flex + sys-devel/bison" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e "s:CFLAGS =:CFLAGS +=:" \ + -e "s:CPPFLAGS =:CPPFLAGS +=:" \ + -e "s:-Werror::" \ + -e "s:-g -Os::" \ + Makefile || die +} + +src_compile() { + tc-export AR CC + emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" +} + +src_test() { + emake check +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" \ + install + dodoc Documentation/manual.txt +} |