summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-11-12 05:35:19 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-11-12 05:35:19 +0000
commitf30fe792adba1446178439cae722894cccaf31d3 (patch)
tree860bcca367c5451fb80b97a0f1001e6266749fa6 /dev-lang/pcc
parentBump, works a lot better now (diff)
downloadgentoo-2-f30fe792adba1446178439cae722894cccaf31d3.tar.gz
gentoo-2-f30fe792adba1446178439cae722894cccaf31d3.tar.bz2
gentoo-2-f30fe792adba1446178439cae722894cccaf31d3.zip
Bump, works a lot better now
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang/pcc')
-rw-r--r--dev-lang/pcc/ChangeLog8
-rw-r--r--dev-lang/pcc/pcc-1.0.1_pre20121112.ebuild36
2 files changed, 42 insertions, 2 deletions
diff --git a/dev-lang/pcc/ChangeLog b/dev-lang/pcc/ChangeLog
index bbb861230b20..a645384d76f2 100644
--- a/dev-lang/pcc/ChangeLog
+++ b/dev-lang/pcc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/pcc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/ChangeLog,v 1.7 2012/06/11 00:30:31 ryao Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/ChangeLog,v 1.8 2012/11/12 05:35:19 patrick Exp $
+
+*pcc-1.0.1_pre20121112 (12 Nov 2012)
+
+ 12 Nov 2012; Patrick Lauer <patrick@gentoo.org> +pcc-1.0.1_pre20121112.ebuild:
+ Bump, works a lot better now
11 Jun 2012; Richard Yao <ryao@gentoo.org> pcc-1.0.0.ebuild:
keyword ~amd64-fbsd
@@ -35,4 +40,3 @@
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/pcc-1.0.1_pre20121112.ebuild b/dev-lang/pcc/pcc-1.0.1_pre20121112.ebuild
new file mode 100644
index 000000000000..b131712ec1d0
--- /dev/null
+++ b/dev-lang/pcc/pcc-1.0.1_pre20121112.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/pcc-1.0.1_pre20121112.ebuild,v 1.1 2012/11/12 05:35:19 patrick Exp $
+
+EAPI=2
+
+inherit eutils versionator autotools
+
+DESCRIPTION="pcc portable c compiler"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+SRC_URI="ftp://pcc.ludd.ltu.se/pub/${PN}/${PN}-${PVR/*_pre/}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
+IUSE=""
+DEPEND=">=dev-libs/pcc-libs-${PV}"
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${PN}-${PVR/*_pre/}/
+
+
+src_prepare() {
+ sed -i -e 's/AC_CHECK_PROG(strip,strip,yes,no)//' configure.ac || die "Failed to fix configure.ac"
+ sed -i -e 's/AC_SUBST(strip)//' configure.ac || die "Failed to fix configure.ac more"
+ eautoreconf
+}
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}