diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-02-13 13:58:28 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-02-13 13:58:28 +0000 |
commit | b88c7b2e73efefb0d8ca74ed28f0fd8036087531 (patch) | |
tree | 6e2914fe76a075505c29df2b8cc9e831427bd2bb /dev-cpp | |
parent | Add 'need localmount' to init.d script, bug#198169 (diff) | |
download | gentoo-2-b88c7b2e73efefb0d8ca74ed28f0fd8036087531.tar.gz gentoo-2-b88c7b2e73efefb0d8ca74ed28f0fd8036087531.tar.bz2 gentoo-2-b88c7b2e73efefb0d8ca74ed28f0fd8036087531.zip |
Version bump (bug #209968).
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/gccxml/ChangeLog | 10 | ||||
-rw-r--r-- | dev-cpp/gccxml/gccxml-0.9.0_pre20071228.ebuild | 49 |
2 files changed, 57 insertions, 2 deletions
diff --git a/dev-cpp/gccxml/ChangeLog b/dev-cpp/gccxml/ChangeLog index d9237cac06eb..eb08be8fbd0a 100644 --- a/dev-cpp/gccxml/ChangeLog +++ b/dev-cpp/gccxml/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/gccxml -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/ChangeLog,v 1.19 2007/11/08 17:53:58 g2boojum Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/ChangeLog,v 1.20 2008/02/13 13:58:28 dev-zero Exp $ + +*gccxml-0.9.0_pre20071228 (13 Feb 2008) + + 13 Feb 2008; Tiziano Müller <dev-zero@gentoo.org> + +gccxml-0.9.0_pre20071228.ebuild: + Version bump (bug #209968). 08 Nov 2007; Grant Goodyear <g2boojum@gentoo.org> metadata.xml: -m removed myself as maintainer diff --git a/dev-cpp/gccxml/gccxml-0.9.0_pre20071228.ebuild b/dev-cpp/gccxml/gccxml-0.9.0_pre20071228.ebuild new file mode 100644 index 000000000000..6dbf3ef98e7b --- /dev/null +++ b/dev-cpp/gccxml/gccxml-0.9.0_pre20071228.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.9.0_pre20071228.ebuild,v 1.1 2008/02/13 13:58:28 dev-zero Exp $ + +inherit eutils toolchain-funcs + +MY_PNV=${PN}_${PV/_pre/+cvs}.orig + +DESCRIPTION="XML output extension to GCC" +HOMEPAGE="http://www.gccxml.org/" +SRC_URI="mirror://debian/pool/main/g/${PN}/${MY_PNV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND=">=dev-util/cmake-2.4.6" +RDEPEND="" + +S=${WORKDIR}/${MY_PNV/_/-} +MYBUILDDIR=${WORKDIR}/build + +src_unpack() { + mkdir "${MYBUILDDIR}" + unpack ${A} + + cd "${S}" + # patch below taken from Debian + sed -i \ + -e 's/xatexit.c//' \ + ${S}/GCC/libiberty/CMakeLists.txt +} +src_compile() { + cd "${MYBUILDDIR}" + cmake "${S}" \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_CXX_COMPILER:FILEPATH="$(tc-getCXX)" \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_C_COMPILER:FILEPATH="$(tc-getCC)" \ + -DCMAKE_C_FLAGS="${CFLAGS}" \ + || die "cmake failed" + emake || die "emake failed" +} + +src_install() { + cd "${MYBUILDDIR}" + emake DESTDIR="${D}" install || die "emake install failed" +} |