summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-01-23 23:35:38 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-01-23 23:35:38 +0000
commit6e73ba13743ac63adaacefe95199c19bb0deb2d3 (patch)
treed441050ee4b365b7eb68f75b429d25c8fd335567 /dev-lang/gnat-gpl
parentAdd patch from Fedora to fix #120091 by Ed Catmur. (diff)
downloadhistorical-6e73ba13743ac63adaacefe95199c19bb0deb2d3.tar.gz
historical-6e73ba13743ac63adaacefe95199c19bb0deb2d3.tar.bz2
historical-6e73ba13743ac63adaacefe95199c19bb0deb2d3.zip
new revision to force use of new bootstrap and to match new eselect-gnat locations
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-lang/gnat-gpl')
-rw-r--r--dev-lang/gnat-gpl/ChangeLog9
-rw-r--r--dev-lang/gnat-gpl/Manifest4
-rw-r--r--dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.5.1-r15
-rw-r--r--dev-lang/gnat-gpl/gnat-gpl-3.4.5.1-r1.ebuild72
4 files changed, 88 insertions, 2 deletions
diff --git a/dev-lang/gnat-gpl/ChangeLog b/dev-lang/gnat-gpl/ChangeLog
index f76825417974..692bb7ffdaef 100644
--- a/dev-lang/gnat-gpl/ChangeLog
+++ b/dev-lang/gnat-gpl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/gnat-gpl
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/ChangeLog,v 1.1 2006/01/17 20:19:36 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/ChangeLog,v 1.2 2006/01/23 23:35:38 george Exp $
+
+*gnat-gpl-3.4.5.1-r1 (23 Jan 2006)
+
+ 23 Jan 2006; George Shapovalov <george@gentoo.org>
+ +gnat-gpl-3.4.5.1-r1.ebuild:
+ new revision to force use of new bootstrap and to match new eselect-gnat
+ locations
*gnat-gpl-3.4.5.1 (17 Jan 2006)
diff --git a/dev-lang/gnat-gpl/Manifest b/dev-lang/gnat-gpl/Manifest
index 7b14037673eb..060f0f457237 100644
--- a/dev-lang/gnat-gpl/Manifest
+++ b/dev-lang/gnat-gpl/Manifest
@@ -1,5 +1,7 @@
-MD5 4b3acf26fc1161062d4bcc2171631f04 ChangeLog 433
+MD5 4f5a51750fb13362ae1102bd105a207e ChangeLog 641
MD5 f3f1bdb05304f35fac9bd27ec98475b4 files/digest-gnat-gpl-3.4.5.1 348
+MD5 f28d95fa6e19dc594ed1bfafe4795b3c files/digest-gnat-gpl-3.4.5.1-r1 354
MD5 c370fea9c771c16d066a4c661e93edc7 files/gnat-Make-lang.in.patch 555
+MD5 524cd49f3ee68755077b7836e19623e6 gnat-gpl-3.4.5.1-r1.ebuild 2392
MD5 72aedef3cc64b046fdb8ee77cdf451f2 gnat-gpl-3.4.5.1.ebuild 2383
MD5 63fe50d3f9c3d288e7c1d1ac98eac6d7 metadata.xml 552
diff --git a/dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.5.1-r1 b/dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.5.1-r1
new file mode 100644
index 000000000000..dbf163c9956b
--- /dev/null
+++ b/dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.5.1-r1
@@ -0,0 +1,5 @@
+MD5 91f813b5dcd60289587092f552b6a037 RM-05-Html.zip 1506487
+MD5 0114ba67f9aabad91d96797d0b6017c4 gcc-core-3.4.5.tar.bz2 13397308
+MD5 003b8f14eeacad4e6977043232b249f9 gnat-gpl-3.4.5.1-src.tar.bz2 5057268
+MD5 df04035076060632d04038718e464534 gnatboot-3.4-amd64-r1.tar.bz2 12042804
+MD5 03402e5eed543f25378156848358cdfd gnatboot-3.4-i686-r1.tar.bz2 10609617
diff --git a/dev-lang/gnat-gpl/gnat-gpl-3.4.5.1-r1.ebuild b/dev-lang/gnat-gpl/gnat-gpl-3.4.5.1-r1.ebuild
new file mode 100644
index 000000000000..7905222fd265
--- /dev/null
+++ b/dev-lang/gnat-gpl/gnat-gpl-3.4.5.1-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/gnat-gpl-3.4.5.1-r1.ebuild,v 1.1 2006/01/23 23:35:38 george Exp $
+
+inherit gnatbuild flag-o-matic
+
+DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
+HOMEPAGE="https://libre2.adacore.com/"
+LICENSE="GPL-2"
+
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCCVER}/gcc-core-${GCCVER}.tar.bz2
+ http://www.adaic.org/standards/05rm/RM-05-Html.zip
+ http://dev.gentoo.org/~george/src/${P}-src.tar.bz2
+ x86? ( http://dev.gentoo.org/~george/src/gnatboot-3.4-i686-r1.tar.bz2 )
+ amd64? ( http://dev.gentoo.org/~george/src/gnatboot-3.4-amd64-r1.tar.bz2 )"
+# ${GNATBRANCH} and ${GCCVER} are defined in gnatbuild.eclass and depend
+# only on $PV, so should be safe to use in DEPEND/SRC_URI
+
+KEYWORDS="~amd64 ~x86"
+DEPEND=""
+
+GNATSOURCE="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ gnatbuild_src_unpack base_unpack
+
+ # prep gcc sources for Ada
+ mv "${GNATSOURCE}/src/ada" "${S}/gcc"
+ cd "${S}"
+ patch -p0 < "${GNATSOURCE}/src/gcc-34.dif"
+
+ gnatbuild_src_unpack common_prep
+
+ # one of the converted gcc->gnatgcc in common_prep needs to stay gcc in
+ # fact in this version
+ sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' "${S}/gcc/ada/makegpr.adb"
+}
+
+src_install() {
+ gnatbuild_src_install install
+
+ # there is something strange with provided Makefiles, causing an
+ # access violation on gprmake. Have to do funny things..
+ make DESTDIR=${D} bindir="${D}${BINPATH}" install || die
+ mv "${D}${D}${PREFIX}/${CTARGET}" "${D}${PREFIX}"
+ rm -rf "${D}var"
+
+ gnatbuild_src_install move_libs cleanup prep_env
+
+ # docs have to be fetched from 3rd place, quite messy package
+ dodir /usr/share/doc/${PF}/html
+ dohtml "${WORKDIR}"/*.html
+
+ # misc notes and examples
+ cd ${GNATSOURCE}
+ dodoc COPYING README features-503 features-ada0y known-problems-503a
+ cp -pPR examples/ "${D}/usr/share/doc/${PF}/"
+}
+
+pkg_postinst() {
+ gnatbuild_pkg_postinst
+
+ einfo
+ einfo "This is an experimental issue of the gnat-gpl compiler, supporting"
+ einfo "some of the new features of Ada2005. You may consider registering with"
+ einfo "AdaCore at https://libre2.adacore.com/."
+ einfo
+ ewarn "Please note!!!"
+ ewarn "gnat-gpl is distributed under the GPL-2 license, without the GMGPL provision!!"
+ einfo "For the GMGPL version you may look at the gnat-gcc compiler."
+ einfo
+}