summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-09-09 21:46:08 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-09-09 21:46:08 +0000
commit7927bbf5a49cca0da5c1d2e0ac32bdf53904275f (patch)
treecf6ee3819da837eb1410e2d01a6137c0f2ba478b /dev-ada
parentMore assert fixes to fix bug #146868. Thanks to Joel <joel_123@hotmail.com> f... (diff)
downloadgentoo-2-7927bbf5a49cca0da5c1d2e0ac32bdf53904275f.tar.gz
gentoo-2-7927bbf5a49cca0da5c1d2e0ac32bdf53904275f.tar.bz2
gentoo-2-7927bbf5a49cca0da5c1d2e0ac32bdf53904275f.zip
repackaged the sources for 3.4.6.2006 and simplified the ebuild
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/asis/ChangeLog5
-rw-r--r--dev-ada/asis/asis-3.4.6.2006.ebuild42
-rw-r--r--dev-ada/asis/files/digest-asis-3.4.6.20066
3 files changed, 21 insertions, 32 deletions
diff --git a/dev-ada/asis/ChangeLog b/dev-ada/asis/ChangeLog
index 5dfe4047e7f8..b1a4527cce2e 100644
--- a/dev-ada/asis/ChangeLog
+++ b/dev-ada/asis/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ada/asis
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/ChangeLog,v 1.22 2006/09/09 21:27:48 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/ChangeLog,v 1.23 2006/09/09 21:46:08 george Exp $
+
+ 09 Sep 2006; George Shapovalov <george@gentoo.org> asis-3.4.6.2006.ebuild:
+ repackaged the sources for 3.4.6.2006 and simplified the ebuild
*asis-3.4.6 (09 Sep 2006)
diff --git a/dev-ada/asis/asis-3.4.6.2006.ebuild b/dev-ada/asis/asis-3.4.6.2006.ebuild
index 52adeec6913d..69a5375520e4 100644
--- a/dev-ada/asis/asis-3.4.6.2006.ebuild
+++ b/dev-ada/asis/asis-3.4.6.2006.ebuild
@@ -1,25 +1,18 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.4.6.2006.ebuild,v 1.2 2006/09/08 16:34:51 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.4.6.2006.ebuild,v 1.3 2006/09/09 21:46:08 george Exp $
inherit eutils flag-o-matic gnatbuild
ACT_Ver=$(get_version_component_range 4)
Gnat_Name="gnat-gpl"
-S="${WORKDIR}/asis-${ACT_Ver}-src"
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
-SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
-
+SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}.tar.bz2"
HOMEPAGE="https://libre2.adacore.com/"
-
LICENSE="GPL-2"
-IUSE="doc"
-RDEPEND="=dev-lang/gnat-gpl-${PV}*"
-DEPEND="${RDEPEND}
- doc? ( virtual/tetex
- app-text/texi2html )"
+KEYWORDS="~amd64 ~x86"
# saving slot as defined in gnatbuild.eclass
eSLOT=${SLOT}
@@ -28,8 +21,14 @@ eSLOT=${SLOT}
# eSLOT depends only on PV, so it is really static
SLOT="ACT-${eSLOT}"
-KEYWORDS="~amd64 ~x86"
-#IUSE="doc"
+
+IUSE="doc"
+RDEPEND="=dev-lang/gnat-gpl-${PV}*"
+DEPEND="${RDEPEND}
+ doc? ( virtual/tetex
+ app-text/texi2html )"
+
+S="${WORKDIR}/asis-${ACT_Ver}"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
@@ -51,16 +50,6 @@ pkg_setup() {
src_unpack() {
unpack ${A}
-
- cd ${S}
- sed -i -e "s:\"gcc\":\"gnatgcc\":" asis/a4g-contt.adb
- sed -i -e "s:\"gcc\":\"gnatgcc\":" \
- -e "s:environment settings for gcc:environment for gnatgcc:" \
- asis/a4g-gnat_int.adb
- sed -i -e "s:\"gcc#\":\"gnatgcc#\":" gnat/snames.adb
-
- sed -i -e "s:gcc:gnatgcc:" tools/tool_utils/asis_ul-common.adb
- sed -i -e "s:\"gcc:\"gnatgcc:" tools/gnatmetric/metrics-compute.adb
}
@@ -98,14 +87,11 @@ src_install () {
chmod 0755 obj/libasis-${ACT_Ver}.so
cp obj/libasis-${ACT_Ver}.so ${D}${LIBPATH}/adalib
insinto ${LIBPATH}/adalib
- doins obj/*.ali
- chmod 0644 lib/libasis.a
- newins lib/libasis.a libasis-${ACT_Ver}.a
+ doins obj/*.ali lib/libasis.a
# make appropriate symlinks
- cd ${D}${LIBPATH}/adalib
+ pushd ${D}${LIBPATH}/adalib
ln -s libasis-${ACT_Ver}.so libasis.so
- ln -s libasis-${ACT_Ver}.a libasis.a
- cd ${S}
+ popd
# sources
insinto ${LIBPATH}/adainclude
doins gnat/*.ad[sb]
diff --git a/dev-ada/asis/files/digest-asis-3.4.6.2006 b/dev-ada/asis/files/digest-asis-3.4.6.2006
index b133ac0d47ab..bb02f4c62c70 100644
--- a/dev-ada/asis/files/digest-asis-3.4.6.2006
+++ b/dev-ada/asis/files/digest-asis-3.4.6.2006
@@ -1,3 +1,3 @@
-MD5 f415da57e567ee77e55ba192bf40a954 asis-gpl-2006-src.tgz 2118559
-RMD160 e1ea4792f2a1ff34762f5362054f9560528d9629 asis-gpl-2006-src.tgz 2118559
-SHA256 61838a94b19bd8a132c6053ee691ab51b39a54fd1bd10c98d9a10efd63663e2d asis-gpl-2006-src.tgz 2118559
+MD5 719dd1bd298eea42b2947edda58951eb asis-gpl-2006.tar.bz2 1546623
+RMD160 98dbf455cb45a9cd2352b01d624cae5153b9b881 asis-gpl-2006.tar.bz2 1546623
+SHA256 66825814792b1ddce9a6e3cc43c7426f9a563d9dbaa1b254884139b51279ebf4 asis-gpl-2006.tar.bz2 1546623