summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2008-07-06 13:14:23 +0000
committerGeorge Shapovalov <george@gentoo.org>2008-07-06 13:14:23 +0000
commitad0260a4b2acc2ebceec9f0041271fc18b042661 (patch)
tree7e924f7171747e758d1191689e810c29f4fe6862 /dev-lang/gnat-gpl
parentadd empty IUSE (diff)
downloadgentoo-2-ad0260a4b2acc2ebceec9f0041271fc18b042661.tar.gz
gentoo-2-ad0260a4b2acc2ebceec9f0041271fc18b042661.tar.bz2
gentoo-2-ad0260a4b2acc2ebceec9f0041271fc18b042661.zip
new version out
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64)
Diffstat (limited to 'dev-lang/gnat-gpl')
-rw-r--r--dev-lang/gnat-gpl/ChangeLog8
-rw-r--r--dev-lang/gnat-gpl/gnat-gpl-3.4.5.2005.ebuild12
-rw-r--r--dev-lang/gnat-gpl/gnat-gpl-3.4.6.2006-r1.ebuild10
-rw-r--r--dev-lang/gnat-gpl/gnat-gpl-4.1.3.2007.ebuild4
-rw-r--r--dev-lang/gnat-gpl/gnat-gpl-4.1.3.2008.ebuild64
5 files changed, 84 insertions, 14 deletions
diff --git a/dev-lang/gnat-gpl/ChangeLog b/dev-lang/gnat-gpl/ChangeLog
index 9a4d2a3bac58..b62df97fbea7 100644
--- a/dev-lang/gnat-gpl/ChangeLog
+++ b/dev-lang/gnat-gpl/ChangeLog
@@ -1,6 +1,12 @@
# 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.22 2008/03/17 12:41:58 coldwind Exp $
+# $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 <george@gentoo.org>
+ +gnat-gpl-4.1.3.2008.ebuild:
+ added new version
17 Mar 2008; Santiago M. Mola <coldwind@gentoo.org>
gnat-gpl-4.1.3.2007.ebuild:
diff --git a/dev-lang/gnat-gpl/gnat-gpl-3.4.5.2005.ebuild b/dev-lang/gnat-gpl/gnat-gpl-3.4.5.2005.ebuild
index f392c5a0f624..51ecfd970256 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-3.4.5.2005.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-3.4.5.2005.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.4 2007/06/26 01:49:39 mr_bones_ Exp $
+# $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
@@ -29,7 +29,7 @@ src_unpack() {
# prep gcc sources for Ada
mv "${GNATSOURCE}/src/ada" "${S}/gcc"
cd "${S}"
- epatch ${WORKDIR}/${PN}-gcc-${SLOT}.diff
+ epatch "${WORKDIR}"/${PN}-gcc-${SLOT}.diff
gnatbuild_src_unpack common_prep
@@ -43,7 +43,7 @@ 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
+ make DESTDIR="${D}" bindir="${D}${BINPATH}" install || die
mv "${D}${D}${PREFIX}/${CTARGET}" "${D}${PREFIX}"
rm -rf "${D}var"
@@ -55,11 +55,11 @@ src_install() {
# misc notes and examples
cd ${GNATSOURCE}
- dodoc COPYING README features-503 features-ada0y known-problems-503a
+ 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
+ rm -f "${D}"${DATAPATH}/info/gnat.info
}
pkg_postinst() {
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
index 8f4a2e645df1..8de2a93979d3 100644
--- 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
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.6 2007/07/13 06:25:50 mr_bones_ Exp $
+# $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
@@ -34,7 +34,7 @@ src_unpack() {
# prep gcc sources for Ada
mv "${GNATSOURCE}/src/ada" "${S}/gcc"
cd "${S}"
- epatch ${WORKDIR}/${PN}-gcc-3.4.6.1.diff
+ epatch "${WORKDIR}"/${PN}-gcc-3.4.6.1.diff
gnatbuild_src_unpack common_prep
@@ -62,11 +62,11 @@ src_install() {
# misc notes and examples
cd ${GNATSOURCE}
- dodoc COPYING features* known-problems-504a
+ 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
+ rm -f "${D}"${DATAPATH}/info/gnat.info
}
pkg_postinst() {
diff --git a/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2007.ebuild b/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2007.ebuild
index 6a205e863b67..92bd1427d9f0 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2007.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2007.ebuild
@@ -1,6 +1,6 @@
# 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.7 2008/03/17 12:41:58 coldwind Exp $
+# $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
@@ -48,7 +48,7 @@ src_install() {
# misc notes and examples
cd ${GNATSOURCE}
- dodoc COPYING features* known-problems-601
+ 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
diff --git a/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2008.ebuild b/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2008.ebuild
new file mode 100644
index 000000000000..69107850d5e0
--- /dev/null
+++ b/dev-lang/gnat-gpl/gnat-gpl-4.1.3.2008.ebuild
@@ -0,0 +1,64 @@
+# 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
+}