Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/gnat-gpl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/ChangeLog,v 1.23 2008/07/06 13:14:23 george Exp $
*gnat-gpl-4.1.3.2008 (06 Jul 2008)
06 Jul 2008; George Shapovalov
+gnat-gpl-4.1.3.2008.ebuild:
added new version
17 Mar 2008; Santiago M. Mola
gnat-gpl-4.1.3.2007.ebuild:
amd64 stable wrt bug #209001
08 Feb 2008; Tobias Scherbaum
gnat-gpl-4.1.3.2007.ebuild:
ppc stable, bug #209001
05 Feb 2008; Christian Faulhammer
gnat-gpl-4.1.3.2007.ebuild:
stable x86, bug 209001
25 May 2007; user account for gentoo cvs access
-gnat-gpl-3.4.6.2006.ebuild:
removed unneeded version
*gnat-gpl-4.1.3.2007 (25 May 2007)
25 May 2007; user account for gentoo cvs access
+gnat-gpl-4.1.3.2007.ebuild:
new version by ACT out
19 May 2007; user account for gentoo cvs access
gnat-gpl-3.4.6.2006-r1.ebuild:
reverted the ${D}${D} trickery that was in place to work around sandbox violation.
No longer necessary. (#178140)
16 May 2007; user account for gentoo cvs access
gnat-gpl-3.4.6.2006.ebuild, gnat-gpl-3.4.6.2006-r1.ebuild:
added QA_EXECSTACK bypass. See #119382
*gnat-gpl-3.4.6.2006-r1 (15 Feb 2007)
15 Feb 2007; George Shapovalov
+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
gnat-gpl-3.4.5.2005.ebuild, gnat-gpl-3.4.6.1.ebuild,
gnat-gpl-3.4.6.2006.ebuild:
Replacing einfo with elog
24 Sep 2006; David Holm
Added to ~ppc.
10 Sep 2006; George Shapovalov
gnat-gpl-3.4.6.2006.ebuild:
reverted versions in SRC_URI so as not to upload the same (renamed) source (#147072)
*gnat-gpl-3.4.6.2006 (08 Sep 2006)
*gnat-gpl-3.4.5.2005 (08 Sep 2006)
08 Sep 2006; George Shapovalov
-gnat-gpl-3.4.5.1-r2.ebuild, +gnat-gpl-3.4.5.2005.ebuild,
+gnat-gpl-3.4.6.2006.ebuild:
renamed 3.4.5.1 to 3.4.5.2005 and 3.4.6.1 to 3.4.6.2006 as per discussion in
#111340 (3.4.6.1 was only copied, will remove soon upon testing)
22 Aug 2006; George Shapovalov
looks like I need to touch something to force Manifest update (#143129)
*gnat-gpl-3.4.6.1 (25 Jun 2006)
25 Jun 2006; George Shapovalov
+gnat-gpl-3.4.6.1.ebuild:
new version (#111340)
05 Jun 2006; George Shapovalov
gnat-gpl-3.4.5.1-r2.ebuild:
fixed creation of symlink to nonexistent info file
27 Apr 2006; Marien Zwart
files/digest-gnat-gpl-3.4.5.1-r1, files/digest-gnat-gpl-3.4.5.1-r2,
Manifest:
Fixing SHA256 digest, pass four
27 Mar 2006; George Shapovalov
gnat-gpl-3.4.5.1-r2.ebuild:
redid the big patch since the original one was complaining a lot and even
asking questions with new eclass
27 Mar 2006; George Shapovalov
-gnat-gpl-3.4.5.1.ebuild:
removed stale (and no longer wrking with new gnatbuild.eclass) revision
*gnat-gpl-3.4.5.1-r2 (27 Mar 2006)
27 Mar 2006; George Shapovalov
+files/patches/51_all_gcc-3.4-libiberty-pic.patch,
+files/gcc-configure-LANG.patch, +files/patches/74_all_sh-pr24836.patch,
+gnat-gpl-3.4.5.1-r2.ebuild:
new revision to match updated gnatbuild.eclass. Misc fixes, better multilib..
19 Mar 2006; Mark Loeser
gnat-gpl-3.4.5.1-r1.ebuild:
Add DEPEND on app-arch/unzip
*gnat-gpl-3.4.5.1-r1 (23 Jan 2006)
23 Jan 2006; George Shapovalov
+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)
17 Jan 2006; George Shapovalov
+files/gnat-Make-lang.in.patch, +metadata.xml, +gnat-gpl-3.4.5.1.ebuild:
initial commit. Split gnat package - AdaCore version (#111340)
AUX gcc-configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea
AUX gnat-Make-lang.in.patch 555 RMD160 110c659ce235926a488eb6382bc380de7195cb13 SHA1 45bd989629fcf8c889759238dfbf37ddb3ee8a3b SHA256 e213feb0c5676dac56af0d9f8d4112cfaae6bfff1e29f18fee81f4e23634e698
AUX patches/51_all_gcc-3.4-libiberty-pic.patch 350 RMD160 4460024bbeae0a723df57657524cbdcb087f269d SHA1 3f755ad571623b2c6481c763d55a1eeaf8d44c28 SHA256 c67824f20231181cd351dab085d861c6d97100b22ee913c5610b160aae5f4a0d
AUX patches/74_all_sh-pr24836.patch 663 RMD160 674e395da770cac6e5ac66f53553acd2612d5011 SHA1 b8778a7bc872acd56282fc4c3f6975381596e1bb SHA256 64772b8d84f82194bd8be91f6cf73d868b6ac24c41a5eddd238d559dbe109362
DIST RM-05-Html.zip 1506487 RMD160 ec1ff61f887d964256f8242bd2be6c285b512963 SHA1 c4c81d5d5d56197e0950811c2809eba1d23a7c22 SHA256 e7ba344dc796e66c8104d059161b6b5033b91c0f732d1f35e7bcf8400df498d6
DIST gcc-branch-4.1.3.tar.bz2 21242772 RMD160 49bcfd56628a06968d8a3b3e46949cedff295bdd SHA1 c06b05c5fce4a5baeb8de812697a1b760fc90f2d SHA256 24d976bcc7545ae5452b38be5f4ae0ebdc7c3cf122ed602c8c58e96ac16edb77
DIST gcc-core-3.4.5.tar.bz2 13397308 RMD160 d0b1f2748929d319b68e80542edfe1251a867c81 SHA1 0a21072e1f5d7cbc50f3b045b1fd45c85be1fad1 SHA256 8a2824b12a1cae8b68de3be0a8fd2da14918462e6afa27c3578ccfc8ab10d0fc
DIST gcc-core-3.4.6.tar.bz2 13366790 RMD160 510f512c1de3e0b67c68aeaf9933a547f500b6d9 SHA1 5f41c5e31fdc04e83fa16b07729866d53ffaadce SHA256 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
DIST gnat-gpl-3.4.5.1-src.tar.bz2 5057268 RMD160 b1ff9411eb1fe3e27a4900c1e61140f81a1bc4bc SHA1 46b57df83c2ddd23227f9b217a6948014904e034 SHA256 b831f83c879b22da735b1c759db1d576aaaf3547771d560f1cf8ed24e0284242
DIST gnat-gpl-3.4.6.1-src.tar.bz2 5042218 RMD160 ef5c6a8c481c6c838c7fb993cb46c661133efc63 SHA1 463b7dbacac2d670732245e4635da694a76b8919 SHA256 105fcd76e880625077243139c546c120e745d702255b7450a1c22a651f852c43
DIST gnat-gpl-4.1.3.2007.tar.bz2 840749 RMD160 d1d5c6fd155b6ba7c352c0720f4d7a49d5510831 SHA1 ed1a8b9b38facb9370825f184af3c0980b8a1395 SHA256 e498b0ddaaeb6a93ff017bc15896e35b9ecc8edb78aca40574b7c2dd2b6d423c
DIST gnat-gpl-4.1.3.2008.tar.bz2 22184293 RMD160 c96af692df05d6810698664f912077f9240506e5 SHA1 b40ff77e3a355af2eef7f1709ff498e73f44fa74 SHA256 3be9cc3dd82668e155e51054c3c182a7364c8aab4e21efc1195b78625a6b0469
DIST gnat-gpl-gcc-3.4.6.1.diff.bz2 118229 RMD160 f4f789bf10073b7f67e2c4ca17a4db884e1790d0 SHA1 575425f11ad920e032b5d0f384459ecdfa28076b SHA256 d722059d1f13f79e323d10e3d9ff30ef0a6c4a9fd4ad06ba5c3a34f8e4ebb874
DIST gnat-gpl-gcc-3.4.diff.bz2 76642 RMD160 c80aa7d81ea25767b93a7c9a70b5228957e4fed8 SHA1 f5d2fd027eb694d7b35881cefce3f890d3c3ca96 SHA256 fc90a356baf483d0aab489ce2ea8278a155f48fa84950f71360657e4bc8103d5
DIST gnatboot-3.4-amd64-r2.tar.bz2 12063245 RMD160 6be578cb8938e872b39d2420c2151d4b8b574f20 SHA1 ce67f3147a5d009ffe5d92cc5ef116f32e772bb0 SHA256 c0c2fe91f6c38483193415690a4f90ac205e3aa9cf42ab3ab3e5d2a3ec269d8d
DIST gnatboot-3.4-i386.tar.bz2 10629373 RMD160 27a3189be4a1f699b438f777679890b93a51eb1e SHA1 78d5aa6c9800ab978db1fbf93255ed70fe188dbc SHA256 7b4300e72b7f00d2fd9d0dad6940c3e6b4e19eeaf4696e92d7c92e2a38e8b049
DIST gnatboot-3.4-ppc.tar.bz2 10996302 RMD160 de56dbb14346f41023ae06445d830c6bd9bbf50a SHA1 87c068ddb7bb14b87e04765e2c3c2997064e8770 SHA256 1f164834e377604a943b230196d9f2a40e8e6753bac4c980d5ca2c00c7674363
DIST gnatboot-4.1-amd64.tar.bz2 15314736 RMD160 d3042072827d66dff67e57559613f7d4136c8443 SHA1 c6a3b213209019579da7660147211c2bc9e6a348 SHA256 a4016920b84f5934ec7120c7bb17c1028b193d5e146a46a9d1ceae4a456924d2
DIST gnatboot-4.1-i386.tar.bz2 15367514 RMD160 3a5dcd646a9abe75a62410a9daaf749171bf5aad SHA1 a7229124084a9e842686eb3c255e42bf432d7b3b SHA256 597b4a16f38fb173b1eecc259c1566ccf81291e13b88e2160102a512cefcc518
DIST gnatboot-4.1-ppc.tar.bz2 13651598 RMD160 1890d8ae2e744d8a26ac5f9d1cf7c923637fff8b SHA1 017efeb76d9283bd90c431b06ddcb7dc91055e07 SHA256 2c9ed035b964a7dfcc427cb5c16dc30d3b99276fb424d25b0ebfde23a68013eb
EBUILD gnat-gpl-3.4.5.2005.ebuild 2502 RMD160 d4ccd75c567be8382ae0f4951c26d07178e77eb8 SHA1 a4f28b3f21af02383c172318c028d94909ee60a0 SHA256 d6f4de94ef10e0efbd30970e4f0b3d848cf6ea6905b16425b4df71611a63bde1
EBUILD gnat-gpl-3.4.6.2006-r1.ebuild 2804 RMD160 9b582c7ada2ca79e378f24fb5c503db20d58b99b SHA1 4733da55075e3a9a84de3d0e3a77011cf27d19a0 SHA256 d58bd648f8123da1bae9e59a6e5efb814a24d63f6b9cb279cfc461dff8288e86
EBUILD gnat-gpl-4.1.3.2007.ebuild 2155 RMD160 e3368438e46c96cec8f2c92743af48151ca54d5b SHA1 c568fa006bbbf7f134bf4e0662b154983d3de7ab SHA256 f2e854446bf1bcc577a5056d1c57466779aadaece6718e842c9e4aa6f67d6a22
EBUILD gnat-gpl-4.1.3.2008.ebuild 2124 RMD160 cfcf556a8de704fd5d585e3ad4585be02a444cb8 SHA1 1e7e151265c00f92c945f9f5dd1d832935bdb13c SHA256 3779c76112d71980bed5a6a6c42737254f0294cbcbfbca2d4fe8a1d9503f3c41
MISC ChangeLog 4269 RMD160 11508ae8a0ffec09bafccfe64cfd6554b2208437 SHA1 1eac8ae9fd974ccf6c04631ed07deb7c9bcf77a4 SHA256 608b02c2f95edbd34e262170313dce0fa8cc73b664470588b160dda274147a65
MISC metadata.xml 552 RMD160 9524b8f235d2e96967b1414cf0dfb81e7b4d7d41 SHA1 1ff4a0a822902537819137181d2a5d385d56d7c5 SHA256 e90469f4de062e9432e406f068db899fec34efa03c8c505d605bab800cb54107
# Copyright 1999-2008 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.2005.ebuild,v 1.5 2008/07/06 13:14:23 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
mirror://gentoo/${PN}-3.4.5.1-src.tar.bz2
mirror://gentoo/${PN}-gcc-${SLOT}.diff.bz2
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/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 ~x86"
DEPEND="app-arch/unzip"
RDEPEND=""
GNATSOURCE="${WORKDIR}/${P}-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-${SLOT}.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"
}
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 README features-503 features-ada0y known-problems-503a
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
}
# Copyright 1999-2008 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.7 2008/07/06 13:14:23 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
mirror://gentoo/${PN}-3.4.6.1-src.tar.bz2
mirror://gentoo/${PN}-gcc-3.4.6.1.diff.bz2
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
amd64? ( mirror://gentoo/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
QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1
${LIBPATH:1}/adalib/libgnat-2006.so"
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
# # 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 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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2007.ebuild,v 1.8 2008/07/06 13:14:23 george Exp $
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
SRC_URI="mirror://gentoo/gcc-branch-${GCCVER}.tar.bz2
http://www.adaic.org/standards/05rm/RM-05-Html.zip
mirror://gentoo/${P}.tar.bz2
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.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
# mirror://gentoo/${PN}-gcc-3.4.6.1.diff.bz2
KEYWORDS="amd64 ppc x86"
DEPEND="app-arch/unzip"
RDEPEND=""
QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind
${BINPATH:1}/gnatmake ${LIBEXECPATH:1}/gnat1
${LIBPATH:1}/adalib/libgnat-2007.so
${LIBPATH:1}/libffi.so.4.0.1 ${LIBPATH:1}/32/libffi.so.4.0.1 "
GNATSOURCE="${WORKDIR}/${PN}-2007-src"
src_unpack() {
gnatbuild_src_unpack base_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
# 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 features* known-problems-601
cp -pPR examples/ Contributors.html "${D}/usr/share/doc/${PF}/"
# this version of gnat does not provide info files yet
rm -rf "${D}${DATAPATH}/info/"
}
pkg_postinst() {
gnatbuild_pkg_postinst
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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2008.ebuild,v 1.1 2008/07/06 13:14:23 george Exp $
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
SRC_URI="http://dev.gentoo.org/~george/src/${P}.tar.bz2
http://www.adaic.org/standards/05rm/RM-05-Html.zip
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.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
# mirror://gentoo/${PN}-gcc-3.4.6.1.diff.bz2
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="app-arch/unzip"
RDEPEND=""
QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind
${BINPATH:1}/gnatmake ${LIBEXECPATH:1}/gnat1
${LIBPATH:1}/adalib/libgnat-2007.so
${LIBPATH:1}/libffi.so.4.0.1 ${LIBPATH:1}/32/libffi.so.4.0.1 "
GNATSOURCE="${S}/${PN}-2008-src"
src_unpack() {
gnatbuild_src_unpack base_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
# 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 features* known-problems-601
cp -pPR examples/ Contributors.html "${D}/usr/share/doc/${PF}/"
# this version of gnat does not provide info files yet
rm -rf "${D}${DATAPATH}/info/"
}
pkg_postinst() {
gnatbuild_pkg_postinst
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
}
GNAT, the (GN)U (A)da (T)oolchain, is a high performance Ada 95
development environment based on the mature GCC compiler technology. It
implements the full Ada 95 language defined by the ISO standard and is upward
compatible with Ada 83. This is a newest development released by AdaCore under
GPL. This is the first version implementing the Ada2005 standard.