summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-06-04 13:04:02 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-06-04 13:04:02 +0000
commit6bd1079acf54bd2ed6ce3603f05b2a118df43d52 (patch)
treea1f2c42fa3f6c38f704b19aa8f2d64523df09f16 /dev-lang/pcc
parentInitial commit of pcc support libs, ebuild by me (diff)
downloadgentoo-2-6bd1079acf54bd2ed6ce3603f05b2a118df43d52.tar.gz
gentoo-2-6bd1079acf54bd2ed6ce3603f05b2a118df43d52.tar.bz2
gentoo-2-6bd1079acf54bd2ed6ce3603f05b2a118df43d52.zip
Initial commit of pcc compiler, ebuild by me
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/pcc')
-rw-r--r--dev-lang/pcc/ChangeLog10
-rw-r--r--dev-lang/pcc/metadata.xml9
-rw-r--r--dev-lang/pcc/pcc-1.0.0_pre100604.ebuild34
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"
+}