diff options
author | George Shapovalov <george@gentoo.org> | 2007-02-15 14:08:19 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2007-02-15 14:08:19 +0000 |
commit | ade6ca5db66bf79c85719312b8db95971218ae83 (patch) | |
tree | 635ab05ca0d607337583d099b999ab8d7840d5fd | |
parent | Version bump. (diff) | |
download | gentoo-2-ade6ca5db66bf79c85719312b8db95971218ae83.tar.gz gentoo-2-ade6ca5db66bf79c85719312b8db95971218ae83.tar.bz2 gentoo-2-ade6ca5db66bf79c85719312b8db95971218ae83.zip |
fixed installation. Now gprmake is installed, so issuing a revbump
(Portage version: 2.1.2-r9)
-rw-r--r-- | dev-lang/gnat-gpl/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.6.2006-r1 | 21 | ||||
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-3.4.6.2006-r1.ebuild | 80 |
3 files changed, 109 insertions, 1 deletions
diff --git a/dev-lang/gnat-gpl/ChangeLog b/dev-lang/gnat-gpl/ChangeLog index 9d655247ee59..8e63aec61c31 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/ChangeLog,v 1.14 2007/02/06 08:11:12 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/ChangeLog,v 1.15 2007/02/15 14:08:19 george Exp $ + +*gnat-gpl-3.4.6.2006-r1 (15 Feb 2007) + + 15 Feb 2007; George Shapovalov <george@gentoo.org> + +gnat-gpl-3.4.6.2006-r1.ebuild: + fixed installation (ACT's weird makefiles again). Now gprmake is installed, + so issuing a revbump 06 Feb 2007; Marius Mauch <genone@gentoo.org> gnat-gpl-3.4.5.1-r1.ebuild, gnat-gpl-3.4.5.2005.ebuild, gnat-gpl-3.4.6.1.ebuild, diff --git a/dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.6.2006-r1 b/dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.6.2006-r1 new file mode 100644 index 000000000000..96a97e0353c7 --- /dev/null +++ b/dev-lang/gnat-gpl/files/digest-gnat-gpl-3.4.6.2006-r1 @@ -0,0 +1,21 @@ +MD5 91f813b5dcd60289587092f552b6a037 RM-05-Html.zip 1506487 +RMD160 ec1ff61f887d964256f8242bd2be6c285b512963 RM-05-Html.zip 1506487 +SHA256 e7ba344dc796e66c8104d059161b6b5033b91c0f732d1f35e7bcf8400df498d6 RM-05-Html.zip 1506487 +MD5 5324ace5145b12afd9ca867af7ec084d gcc-core-3.4.6.tar.bz2 13366790 +RMD160 510f512c1de3e0b67c68aeaf9933a547f500b6d9 gcc-core-3.4.6.tar.bz2 13366790 +SHA256 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133 gcc-core-3.4.6.tar.bz2 13366790 +MD5 13e624800d4e333e44881965e3b6e606 gnat-gpl-3.4.6.1-src.tar.bz2 5042218 +RMD160 ef5c6a8c481c6c838c7fb993cb46c661133efc63 gnat-gpl-3.4.6.1-src.tar.bz2 5042218 +SHA256 105fcd76e880625077243139c546c120e745d702255b7450a1c22a651f852c43 gnat-gpl-3.4.6.1-src.tar.bz2 5042218 +MD5 14628e194bf6d503bb833a8022d537a3 gnat-gpl-gcc-3.4.6.1.diff.bz2 118229 +RMD160 f4f789bf10073b7f67e2c4ca17a4db884e1790d0 gnat-gpl-gcc-3.4.6.1.diff.bz2 118229 +SHA256 d722059d1f13f79e323d10e3d9ff30ef0a6c4a9fd4ad06ba5c3a34f8e4ebb874 gnat-gpl-gcc-3.4.6.1.diff.bz2 118229 +MD5 1c6a132642a5d9b2712b62b5e52e593b gnatboot-3.4-amd64-r2.tar.bz2 12063245 +RMD160 6be578cb8938e872b39d2420c2151d4b8b574f20 gnatboot-3.4-amd64-r2.tar.bz2 12063245 +SHA256 c0c2fe91f6c38483193415690a4f90ac205e3aa9cf42ab3ab3e5d2a3ec269d8d gnatboot-3.4-amd64-r2.tar.bz2 12063245 +MD5 cf7184e3f90a9fbbcc552257d8408337 gnatboot-3.4-i386.tar.bz2 10629373 +RMD160 27a3189be4a1f699b438f777679890b93a51eb1e gnatboot-3.4-i386.tar.bz2 10629373 +SHA256 7b4300e72b7f00d2fd9d0dad6940c3e6b4e19eeaf4696e92d7c92e2a38e8b049 gnatboot-3.4-i386.tar.bz2 10629373 +MD5 d471593d6dfee8db2563ff86d57a9000 gnatboot-3.4-ppc.tar.bz2 10996302 +RMD160 de56dbb14346f41023ae06445d830c6bd9bbf50a gnatboot-3.4-ppc.tar.bz2 10996302 +SHA256 1f164834e377604a943b230196d9f2a40e8e6753bac4c980d5ca2c00c7674363 gnatboot-3.4-ppc.tar.bz2 10996302 diff --git a/dev-lang/gnat-gpl/gnat-gpl-3.4.6.2006-r1.ebuild b/dev-lang/gnat-gpl/gnat-gpl-3.4.6.2006-r1.ebuild new file mode 100644 index 000000000000..53a285043730 --- /dev/null +++ b/dev-lang/gnat-gpl/gnat-gpl-3.4.6.2006-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2007 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.6.2006-r1.ebuild,v 1.1 2007/02/15 14:08:19 george Exp $ + +inherit gnatbuild + +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/${PN}-3.4.6.1-src.tar.bz2 + http://dev.gentoo.org/~george/src/${PN}-gcc-3.4.6.1.diff.bz2 + x86? ( http://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i386.tar.bz2 ) + ppc? ( http://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 ) + amd64? ( http://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64-r2.tar.bz2 )" +# ${BOOT_SLOT} and ${GCCVER} are defined in gnatbuild.eclass and depend +# only on $PV, so should be safe to use in DEPEND/SRC_URI + +KEYWORDS="~amd64 ~ppc ~x86" +DEPEND="app-arch/unzip" +RDEPEND="" + +GNATSOURCE="${WORKDIR}/${PN}-2006-src" + +src_unpack() { + gnatbuild_src_unpack base_unpack + + # prep gcc sources for Ada + mv "${GNATSOURCE}/src/ada" "${S}/gcc" + cd "${S}" + epatch ${WORKDIR}/${PN}-gcc-3.4.6.1.diff + + 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 + # reverting similar conversion in comment - line too long + sed -i -e 's:"gnatgcc":"gcc":' "${S}"/gcc/ada/osint.ads +} + +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 + cp -dPr "${D}${D}${PREFIX}"/* "${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 features* known-problems-504a + cp -pPR examples/ "${D}/usr/share/doc/${PF}/" + + # this version of gnat does not provide info files yet + rm -f ${D}${DATAPATH}/info/gnat.info +} + +pkg_postinst() { + gnatbuild_pkg_postinst + + elog + elog "This is an experimental issue of the gnat-gpl compiler, supporting" + elog "some of the new features of Ada2005. You may consider registering with" + elog "AdaCore at https://libre2.adacore.com/." + elog + ewarn "Please note!!!" + ewarn "gnat-gpl is distributed under the GPL-2 license, without the GMGPL provision!!" + ewarn "For the GMGPL version you may look at the gnat-gcc compiler." + ewarn +} |