summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-01-17 20:12:10 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-01-17 20:12:10 +0000
commit92ceb3e9ff4aaa619bea1aaff6951b6523325049 (patch)
tree0a6496d44eca3cf9c6e24aba002f67cac126658b /dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild
parentStable on hppa. (diff)
downloadhistorical-92ceb3e9ff4aaa619bea1aaff6951b6523325049.tar.gz
historical-92ceb3e9ff4aaa619bea1aaff6951b6523325049.tar.bz2
historical-92ceb3e9ff4aaa619bea1aaff6951b6523325049.zip
initial commit. Split gnat package - gcc version (#111340)
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild')
-rw-r--r--dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild b/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild
new file mode 100644
index 000000000000..a06d9c95d347
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild,v 1.1 2006/01/17 20:12:10 george Exp $
+
+inherit gnatbuild flag-o-matic
+
+DESCRIPTION="GNAT Ada Compiler - gcc version"
+HOMEPAGE="http://gcc.gnu.org/"
+LICENSE="GMGPL"
+
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
+ x86? ( http://dev.gentoo.org/~george/src/gnatboot-${GNATBRANCH}-i686.tar.bz2 )
+ amd64? ( http://dev.gentoo.org/~george/src/gnatboot-${GNATBRANCH}-amd64.tar.bz2 )"
+# ${GNATBRANCH} is defined in gnatbuild.eclass and depends
+# only on $PV, so should be safe to use in DEPEND/SRC_URI
+
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ gnatbuild_src_unpack
+
+ #fixup some hardwired flags
+ cd ${S}/gcc/ada
+ sed -i -e "s:CFLAGS = -O2:CFLAGS = ${CFLAGS}:" \
+ Makefile.adalib || die "patching Makefile.adalib failed"
+}