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
commitc9c180d018ab22db9f70839a465b4fab933c0dce (patch)
tree148e3ef6dfc7694de247253f2a54d37a7778d773 /dev-lang
parentInitial commit of pcc support libs, ebuild by me (diff)
downloadhistorical-c9c180d018ab22db9f70839a465b4fab933c0dce.tar.gz
historical-c9c180d018ab22db9f70839a465b4fab933c0dce.tar.bz2
historical-c9c180d018ab22db9f70839a465b4fab933c0dce.zip
Initial commit of pcc compiler, ebuild by me
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/pcc/ChangeLog10
-rw-r--r--dev-lang/pcc/Manifest4
-rw-r--r--dev-lang/pcc/metadata.xml9
-rw-r--r--dev-lang/pcc/pcc-1.0.0_pre100604.ebuild34
4 files changed, 57 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/Manifest b/dev-lang/pcc/Manifest
new file mode 100644
index 000000000000..bfa4e99abdc2
--- /dev/null
+++ b/dev-lang/pcc/Manifest
@@ -0,0 +1,4 @@
+DIST pcc-100604.tgz 635050 RMD160 d5f482af9c915be33fb929986aa8dd4c68803e7d SHA1 b8bcf8c59835426afcb68f19657fa0eb1283f33b SHA256 22a94395dfa73b30b11c263eb480ae7174b23ec7d190052ba2f58983370c33a2
+EBUILD pcc-1.0.0_pre100604.ebuild 774 RMD160 1b02ccee6a22720b64830b32c41d5dbd5b7a2ecb SHA1 59febfa9a40c68bfd1a3479a7cc055dc0fbf9239 SHA256 dc5ef7c4a99867dde30f9c8b6d053bcaee34623e0a3c6a700e5626049fede6e1
+MISC ChangeLog 378 RMD160 c1dc07f779bada837b1cab6f8bd2bac5032a40e0 SHA1 a0e3f92c06490388265df2fb702709e94f1621ce SHA256 bb1684831ebd6fd7927ef94404cc775e8e1c742ac8d0189afc9f2c8cd94fa8a6
+MISC metadata.xml 255 RMD160 dbe77cd804a4411e8445c05f6e632fdc2f72d082 SHA1 94e7a8d2d43907279488b984c3dcd9fd1888ce25 SHA256 28c7b0445a5f2eb0d524ff3afcef712ecbf345592d26142f71a3ef9bca653d4b
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"
+}