diff options
-rw-r--r-- | dev-lang/pcc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/pcc/metadata.xml | 9 | ||||
-rw-r--r-- | dev-lang/pcc/pcc-1.0.0_pre100604.ebuild | 34 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-lang/pcc/ChangeLog b/dev-lang/pcc/ChangeLog new file mode 100644 index 000000000000..29af08887877 --- /dev/null +++ b/dev-lang/pcc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/pcc +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/ChangeLog,v 1.1 2010/06/04 13:04:02 patrick Exp $ + +*pcc-1.0.0_pre100604 (04 Jun 2010) + + 04 Jun 2010; Patrick Lauer <patrick@gentoo.org> + +pcc-1.0.0_pre100604.ebuild, +metadata.xml: + Initial commit of pcc compiler, ebuild by me + diff --git a/dev-lang/pcc/metadata.xml b/dev-lang/pcc/metadata.xml new file mode 100644 index 000000000000..e433c08d449a --- /dev/null +++ b/dev-lang/pcc/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> diff --git a/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild b/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild new file mode 100644 index 000000000000..d9834762e1cf --- /dev/null +++ b/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild,v 1.1 2010/06/04 13:04:02 patrick Exp $ + +EAPI=2 + +inherit eutils versionator + +# extract date stamp for later use +ver=$(get_version_component_range 4) +ver=${ver/pre/} + +DESCRIPTION="pcc portable c compiler" +HOMEPAGE="http://pcc.ludd.ltu.se" + +SRC_URI="http://pcc.ludd.ltu.se/ftp/pub/${PN}/${PN}-$ver.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND=">=dev-libs/pcc-libs-${PV}" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-$ver + +src_compile() { + # not parallel-safe yet + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |