From cc5957bad6073ac8cdaf85b937c7e5e7ce32e2b0 Mon Sep 17 00:00:00 2001 From: Grant Goodyear Date: Tue, 25 Jan 2005 22:05:42 +0000 Subject: New package (Portage version: 2.0.51-r14) --- dev-cpp/gccxml/gccxml-0.6.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-cpp/gccxml/gccxml-0.6.0.ebuild (limited to 'dev-cpp/gccxml/gccxml-0.6.0.ebuild') diff --git a/dev-cpp/gccxml/gccxml-0.6.0.ebuild b/dev-cpp/gccxml/gccxml-0.6.0.ebuild new file mode 100644 index 000000000000..a88d9ecc778e --- /dev/null +++ b/dev-cpp/gccxml/gccxml-0.6.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0.ebuild,v 1.1 2005/01/25 22:05:42 g2boojum Exp $ + +inherit versionator +PVM="$(get_version_component_range 1-2)" +DESCRIPTION="XML output extension to GCC" +HOMEPAGE="http://www.gccxml.org/" +SRC_URI="http://www.gccxml.org/files/v${PVM}/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-util/cmake" +RDEPEND="" + +MYBUILDDIR=${WORKDIR}/build +src_unpack() { + mkdir ${MYBUILDDIR} + unpack ${A} +} +src_compile() { + cd ${MYBUILDDIR} + cmake ../${P} -DCMAKE_INSTALL_PREFIX:PATH=/usr || die "cmake failed" + emake || die "emake failed" +} + +src_install() { + cd ${MYBUILDDIR} + make DESTDIR=${D} install || die +} -- cgit v1.2.3-65-gdbad