+++ /dev/null
-# ChangeLog for dev-ada/asis
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/ChangeLog,v 1.24 2007/01/25 23:39:26 genone Exp $
-
- 25 Jan 2007; Marius Mauch <genone@gentoo.org> asis-3.4.6.ebuild,
- asis-3.4.6.2006.ebuild, asis-3.15p.ebuild, asis-3.44.ebuild:
- Replacing einfo with elog
-
- 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)
-
- 09 Sep 2006; George Shapovalov <george@gentoo.org> +asis-3.4.6.ebuild:
- new version of ASIS, for FSF's gnat-3.4.6
-
- 08 Sep 2006; George Shapovalov <george@gentoo.org> asis-3.4.6.2006.ebuild:
- fixed up utils finding wrong gcc, missed some gcc->gnatgcc conversions first
- time around
-
-*asis-3.4.6.2006 (08 Sep 2006)
-
- 08 Sep 2006; George Shapovalov <george@gentoo.org>
- +asis-3.4.6.2006.ebuild, asis-3.15p.ebuild:
- added new version to go with gnat-gcc-3.4.6.2006. Installs into gnat's dirs,
- extending the compiler (as it is supposed). See #111340 for details
- Removed ppc from KEYWORDS of 3.15p as gnat-3.15p is masked in ppc profile
- (and will soon be pulled anyways).
-
- 13 May 2006; George Shapovalov <george@gentoo.org> asis-3.15p.ebuild,
- asis-3.44.ebuild:
- removed inherit gnat until adapted for new eclass
-
- 03 Jan 2006; George Shapovalov <george@gentoo.org> asis-3.44.ebuild:
- changed DEPEND to >=gnat-3.44, to avoid donwgrading new version of gnat - we
- just need the same major number of backend, any 3.4x will work..
-
- 28 Dec 2005; George Shapovalov <george@gentoo.org> asis-3.44.ebuild:
- added ~x86 to KEYWORDS
-
- 19 Dec 2005; George Shapovalov <george@gentoo.org> asis-3.44.ebuild:
- added some C[XX]FLAGS filtering
- removed ~x86 and ~ppc from KEYWORDS ans ebuild preps for unmasking
-
- 18 Dec 2005; George Shapovalov <george@gentoo.org> asis-3.44.ebuild:
- added app-text/tetex to DEPEND
-
-*asis-3.44 (15 Dec 2005)
-
- 15 Dec 2005; George Shapovalov <george@gentoo.org> files/asis-3.15p.diff, asis-3.15p.ebuild, +asis-3.44.ebuild:
- new version, works with gnat-3.44
- also, reversed the patch for 3.15p and restricted its DEPEND to =dev-lang/gnat-3.15p*
- as additional testing showed that, even though asis-3.15 can be built with gnat-3.44
- it is not behaving in a stable way..
-
- 15 Dec 2005; George Shapovalov <george@gentoo.org> files/asis-3.15p.diff, asis-3.15p.ebuild:
- adjusted the patch to make asis build with gnat-3.4x series
- (based on gcc-3.4.x, so does stricter checks)
- also eliminated unnecessary cd ${S} at the end of src_compile
-
- 01 May 2005; Michael Hanselmann <hansmi@gentoo.org> asis-3.15p.ebuild:
- Stable on ppc.
-
- 19 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> asis-3.15p.ebuild:
- Inherit eutils.
-
- 28 Oct 2003; David Holm <dholm@gentoo.org> asis-3.15p.ebuild:
- Added to ADA_INCLUDE_PATH and masked for systems with GNAT-5.* as you need
- ASIS 2.x for this (which hasn't been released for free yet).
-
- 06 Oct 2003; David Holm <dholm@gentoo.org> asis-3.15p.ebuild:
- Moved to stable on x86.
-
- 19 Sep 2003; David Holm <dholm@gentoo.org> asis-3.15p.ebuild:
- Added to ~ppc.
-
- 17 Aug 2003; David Holm <dholm@gentoo.org> metadata.xml:
- Added a <longdescription>-tag to metadata.xml.
-
-*asis-3.15p (13 Jul 2003)
-
- 13 Jul 2003; George Shapovalov <george@gentoo.org> asis-3.15p.ebuild, Manifest, files/{asis-3.15p.diff,digest-asis-3.15p} :
- initial release (#23047)
- The Ada Semantic Interface Specification queries and services provide a consistent interface to information within the Ada Program Library created at compile time.
- ebuild submitted by David Holm <dholm@telia.com>
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX asis-3.15p.diff 1558 RMD160 8767b02119a122ca53a23c02aba16204b8c538e1 SHA1 e89d7c1a3e0d46e7b6b0e1a2d03283cfd95d8553 SHA256 3518f6213d7e8be35be074a1529bb2a0b020f7667c8dcced51cac05678ccbfab
-MD5 69d5c644b8ab42132401a32d66174a32 files/asis-3.15p.diff 1558
-RMD160 8767b02119a122ca53a23c02aba16204b8c538e1 files/asis-3.15p.diff 1558
-SHA256 3518f6213d7e8be35be074a1529bb2a0b020f7667c8dcced51cac05678ccbfab files/asis-3.15p.diff 1558
-DIST asis-3.15p-src.tgz 1401350 RMD160 fc075e5b66b069d6aa7906a29917464fbb7e3ed2 SHA1 a553496cb86310017a5647c752b19b394ad9d054 SHA256 f354edd8260c890e16eec694cf77df858c080ff0aa2302b876491dea4a168151
-DIST asis-3.4.4.tar.bz2 2874938 RMD160 ec6acf720c4fb6a386fa6da8de40f88b5b9f310d SHA1 949725a605ffa92e30cdc53b397483d38078a90c SHA256 2d3546d04839801ef617005e60ee24be9a0004f8481c70e3ea51a17443d094d5
-DIST asis-3_4_4-20041123.src.tar.gz 3538230 RMD160 13fc07c1ffdaa2f32455f559d092c0f69fa2e65e SHA1 8d8cc64b2895dbb85ac7bfdd8dffcc95be5ed76e SHA256 2a96be349342d1452fef34ad13f7aefce0e3b0dbca52106b99253e6a1b6ec47d
-DIST asis-gpl-2006.tar.bz2 1546623 RMD160 98dbf455cb45a9cd2352b01d624cae5153b9b881 SHA1 6bd02da83d8c1eede5dd9f038cbcf436201f4d70 SHA256 66825814792b1ddce9a6e3cc43c7426f9a563d9dbaa1b254884139b51279ebf4
-EBUILD asis-3.15p.ebuild 2960 RMD160 fead104803385afb0eea8619328d6af3a3fcc8ce SHA1 08f55342e29cb86ae362ca5bee9794668f82161f SHA256 acf3bf00bee554e29a5923c4f95a9cc529b2c1a9b6beb0818eabdc0650357527
-MD5 e8532dd7f0580ac4153552d6faeab2ba asis-3.15p.ebuild 2960
-RMD160 fead104803385afb0eea8619328d6af3a3fcc8ce asis-3.15p.ebuild 2960
-SHA256 acf3bf00bee554e29a5923c4f95a9cc529b2c1a9b6beb0818eabdc0650357527 asis-3.15p.ebuild 2960
-EBUILD asis-3.4.6.2006.ebuild 3331 RMD160 db12f77b91675011b1237409125394626ab360d4 SHA1 1f9a70b2e871923aed0e077c443eeb4dd9eb3b88 SHA256 68944b15835d4a552c000fc58d5215710503fa0a2e981854d905087f6dabfbdb
-MD5 e8dca27e0d3fd9cef7390d5f383279cf asis-3.4.6.2006.ebuild 3331
-RMD160 db12f77b91675011b1237409125394626ab360d4 asis-3.4.6.2006.ebuild 3331
-SHA256 68944b15835d4a552c000fc58d5215710503fa0a2e981854d905087f6dabfbdb asis-3.4.6.2006.ebuild 3331
-EBUILD asis-3.4.6.ebuild 4007 RMD160 5014ed60ec2df2fb11968480a6e29bc2f1beb6e8 SHA1 bb4e6742348e87fb00139ac19fb007f7903b78e8 SHA256 1f5cf167ab15d1d71d68361a9f115db63d370b7d7810ac529bee1e224721dc9f
-MD5 18b85a2ba2e0d55499d237cae28a8d2b asis-3.4.6.ebuild 4007
-RMD160 5014ed60ec2df2fb11968480a6e29bc2f1beb6e8 asis-3.4.6.ebuild 4007
-SHA256 1f5cf167ab15d1d71d68361a9f115db63d370b7d7810ac529bee1e224721dc9f asis-3.4.6.ebuild 4007
-EBUILD asis-3.44.ebuild 3480 RMD160 c1177faae916f10badbfc0fd4dc6e5ed0548443b SHA1 5c2f8d713d7935d7dd730b5ee6dd44a70cc9cd5c SHA256 d4603a86cb60f208a3e72b7b5ae6bd90661a0e555fa2f2a171a6038b2d5f48b3
-MD5 f6d3be7375efc0794978873901e1a247 asis-3.44.ebuild 3480
-RMD160 c1177faae916f10badbfc0fd4dc6e5ed0548443b asis-3.44.ebuild 3480
-SHA256 d4603a86cb60f208a3e72b7b5ae6bd90661a0e555fa2f2a171a6038b2d5f48b3 asis-3.44.ebuild 3480
-MISC ChangeLog 3675 RMD160 42daebd95aab11723b822f323fd3df318837ffb6 SHA1 486f4ff5058093bd7116fdd7f0b418546acada59 SHA256 8d3d7d435ede75fd0dbff7bb62b9d808caac848b514ea3ed53b185e368d7819c
-MD5 a47cd011ab98cc07e66ac4ba995eb79f ChangeLog 3675
-RMD160 42daebd95aab11723b822f323fd3df318837ffb6 ChangeLog 3675
-SHA256 8d3d7d435ede75fd0dbff7bb62b9d808caac848b514ea3ed53b185e368d7819c ChangeLog 3675
-MISC metadata.xml 598 RMD160 b82487ff514ca323ee57a15a0294b080c27f7b9c SHA1 30f217811a04e04864d93875a3eb26513c272e7f SHA256 f03c69e689b212b787e27a7bac12bbeeb37fe252be75eff4366f86027aeb4e14
-MD5 fd7e5cf25ef3dec8ef610126f059f680 metadata.xml 598
-RMD160 b82487ff514ca323ee57a15a0294b080c27f7b9c metadata.xml 598
-SHA256 f03c69e689b212b787e27a7bac12bbeeb37fe252be75eff4366f86027aeb4e14 metadata.xml 598
-MD5 bb3cbc41a8dc9f851cb531ee1a4131e9 files/digest-asis-3.15p 238
-RMD160 0c1fb9bc3df77c8300cffe507a416394b161dde9 files/digest-asis-3.15p 238
-SHA256 d37c3d0788b8cb71d38fd95e2d2559c6db1df3a5e29ec15fad835b3b871df3fa files/digest-asis-3.15p 238
-MD5 d6570d957225c61b625302b23a6a44b6 files/digest-asis-3.4.6 238
-RMD160 173952181a338184dcb15259497d8bb172be3611 files/digest-asis-3.4.6 238
-SHA256 7d0785d9760aec7fe31d9009751fce46751031491cc42ec75b65075becb20a77 files/digest-asis-3.4.6 238
-MD5 a73ee5d92b8be8d896d08328577f1938 files/digest-asis-3.4.6.2006 247
-RMD160 c600e315776203e4a1aa2c101b35de4c1be59be9 files/digest-asis-3.4.6.2006 247
-SHA256 67d8d19783505598c35f3988b9fd707c6d0ad6b693d21ac319767344770dfb09 files/digest-asis-3.4.6.2006 247
-MD5 e4ed0ce41f3aeb7e5b55cc532a7be07a files/digest-asis-3.44 274
-RMD160 5702e653af9cd3e20ac569ff6191f5cd526e9853 files/digest-asis-3.44 274
-SHA256 c971ec408a3eb3df3bb0bbf1291cc6442aa249a1482d97c350708cdb4e310de3 files/digest-asis-3.44 274
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFuUJn6J2i8a8J4okRAorPAKDV65AILc+jH0F58CtlbjFZuSwBnwCbBfD7
-QTh9cb/rKcXrvduS++Ipbas=
-=UeMm
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.15p.ebuild,v 1.18 2007/01/25 23:39:26 genone Exp $
-
-inherit eutils
-
-S="${WORKDIR}/${P}-src"
-DESCRIPTION="The Ada Semantic Interface Specification queries and services provide a consistent interface to information within the Ada Program Library created at compile time."
-SRC_URI="http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/asis/${P}-src.tgz"
-HOMEPAGE="http://www.gnat.com/"
-
-LICENSE="GMGPL"
-DEPEND="=dev-lang/gnat-3.15p*"
-RDEPEND=""
-
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A} ; cd ${S}
- epatch ${FILESDIR}/${P}.diff
-}
-
-src_compile() {
- emake -C obj libasis.a CFLAGS="${ADACFLAGS} -fPIC" \
- CC=gnatgcc RM="rm -f" || die "Failed while compiling ASIS"
- emake -C documentation || die "Failed while compiling documentation"
-
- # Build the shared library
- ${ADAC} -shared -Wl,-soname,libasis-${PV}.so.1 \
- -o obj/libasis-${PV}.so.1 obj/*.o -lc
-
- local MAKEFLAGS="-cargs ${ADACFLAGS} -I../../asis -I../../gnat -I../../obj -largs -L../../obj ../../obj/libasis.a"
- cd "${S}/tools/asistant"
- ${ADAMAKE} asistant-driver -o asistant ${MAKEFLAGS}
- cd "${S}/tools/gnatelim"
- ${ADAMAKE} gnatelim-driver -o gnatelim ${MAKEFLAGS}
- cd "${S}/tools/gnatstub"
- ${ADAMAKE} gnatstub-driver -o gnatstub ${MAKEFLAGS}
-}
-
-src_install () {
- dodoc documentation/*.{html,ps,txt}
- doinfo documentation/*.info
-
- insinto /usr/lib/ada/adalib/${PN}
- # Install the dynamic library
- chmod 0755 obj/libasis-${PV}.so.1
- doins obj/libasis-${PV}.so.1
-
- # Install the intermediate compiler information files
- doins obj/*.ali
- chmod 0644 obj/libasis.a
-
- # Install the static library
- newins obj/libasis.a libasis-${PV}.a
-
- #make local symlinks, as done usually in libs
- cd ${D}/usr/lib/ada/adalib/${PN}/
- ln -s libasis-${PV}.so.1 libasis-${PV}.so
- ln -s libasis-${PV}.so libasis.so
- ln -s libasis-${PV}.a libasis.a
- cd ${S}
-# dosym /usr/lib/ada/adalib/asis/libasis-${PV}.so.1 \
-# /usr/lib/ada/adalib/asis/libasis-${PV}.so
-# dosym /usr/lib/ada/adalib/asis/libasis-${PV}.so \
-# /usr/lib/ada/adalib/asis/libasis.so
-# dosym /usr/lib/ada/adalib/asis/libasis-${PV}.a \
-# /usr/lib/ada/adalib/asis/libasis.a
-
- #headers and binaries
- insinto /usr/lib/ada/adainclude/${PN}
- doins gnat/*.ad[sb]
- doins asis/*.ad[sb]
-
- insinto /usr/bin
- dobin tools/asistant/asistant
- dobin tools/gnatelim/gnatelim
- dobin tools/gnatstub/gnatstub
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55asis
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55asis
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "ASIS. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
+++ /dev/null
-# Copyright 1999-2007 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.4 2007/01/25 23:39:26 genone Exp $
-
-inherit eutils flag-o-matic gnatbuild
-
-ACT_Ver=$(get_version_component_range 4)
-Gnat_Name="gnat-gpl"
-
-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}.tar.bz2"
-HOMEPAGE="https://libre2.adacore.com/"
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~x86"
-
-# saving slot as defined in gnatbuild.eclass
-eSLOT=${SLOT}
-# To avoid having two packages we combine both te name indication and the slot
-# from gnatbuild.eclass in ASIS' SLOT
-# eSLOT depends only on PV, so it is really static
-SLOT="ACT-${eSLOT}"
-
-
-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
-
-
-pkg_setup() {
- currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
- if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${eSLOT}" ]]; then
- echo
- eerror "The active gnat profile does not correspond to the selected"
- eerror "version of asis! Please install the appropriate gnat (if you"
- eerror "did not so yet) and run:"
- einfo "eselect gnat set ${CTARGET}-${Gnat_Name}-${eSLOT}"
- eerror "and then emerge =dev-ada/asis-${PV} again.."
- echo
- die
- fi
-}
-
-src_unpack() {
- unpack ${A}
-}
-
-
-src_compile() {
- # Build the shared library first, we need -fPIC here
- gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
- || die "building libasis.a failed"
- gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
- -o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
- || die "building libasis.so failed"
-
- # build tools
- for fn in tools/*; do
- pushd ${fn}
- gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
- popd
- done
-
- # common stuff is just docs in this case
- if use doc; then
- emake -C documentation all || die "Failed while compiling documentation"
- fi
-}
-
-
-src_install () {
- # we need to adjust some vars defined in gnatbuild.eclass so that they use
- # gnat-gpl instead of asis
- LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
- BINPATH=${BINPATH/${PN}/${Gnat_Name}}
- DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
-
- # install the lib
- mkdir -p ${D}${LIBPATH}/adalib
- chmod 0755 obj/libasis-${ACT_Ver}.so
- cp obj/libasis-${ACT_Ver}.so ${D}${LIBPATH}/adalib
- insinto ${LIBPATH}/adalib
- doins obj/*.ali lib/libasis.a
- # make appropriate symlinks
- pushd ${D}${LIBPATH}/adalib
- ln -s libasis-${ACT_Ver}.so libasis.so
- popd
- # sources
- insinto ${LIBPATH}/adainclude
- doins gnat/*.ad[sb]
- doins asis/*.ad[sb]
-
- # tools
- mkdir -p ${D}${BINPATH}
- for fn in tools/{asistant,gnat*}; do
- cp ${fn}/${fn:6} ${D}${BINPATH}
- done
-
- # docs and examples
- dodoc documentation/*.txt
- dohtml documentation/*.html
- # info's should go into gnat-gpl dirs
- insinto ${DATAPATH}/info/
- doins documentation/*.info
-
- insinto /usr/share/doc/${PF}
- doins -r documentation/*.pdf examples/ tutorial/ templates/
-}
-
-pkg_postinst() {
- echo
- elog "The ASIS is installed for the active gnat compiler at gnat's location."
- elog "No further configuration is necessary. Enjoy."
- echo
-}
+++ /dev/null
-# Copyright 1999-2007 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.ebuild,v 1.3 2007/01/25 23:39:26 genone Exp $
-
-inherit eutils flag-o-matic gnatbuild
-
-DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler). GnuAda version"
-HOMEPAGE="http://gnuada.sourceforge.net/"
-LICENSE="GMGPL"
-
-KEYWORDS="~amd64 ~x86"
-
-Gnat_Name="gnat-gcc"
-My_PV="3.4.4"
-SRC_URI="http://dev.gentoo.org/~george/src/${PN}-${My_PV}.tar.bz2"
-
-# saving slot as defined in gnatbuild.eclass
-eSLOT=${SLOT}
-# To avoid having two packages we combine both te name indication and the slot
-# from gnatbuild.eclass in ASIS' SLOT
-# eSLOT depends only on PV, so it is really static
-SLOT="FSF-${eSLOT}"
-
-
-IUSE="doc"
-RDEPEND="=dev-lang/gnat-gcc-${PV}*"
-DEPEND="${RDEPEND}
- doc? ( virtual/tetex
- app-text/texi2html )"
-
-S="${WORKDIR}/${PN}-${My_PV}"
-
-
-# it may be even better to force plain -O2 -pipe -ftracer here
-replace-flags -O3 -O2
-
-
-pkg_setup() {
- currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
- if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${eSLOT}" ]]; then
- echo
- eerror "The active gnat profile does not correspond to the selected"
- eerror "version of asis! Please install the appropriate gnat (if you"
- eerror "did not so yet) and run:"
- einfo "eselect gnat set ${CTARGET}-${Gnat_Name}-${eSLOT}"
- eerror "and then emerge =dev-ada/asis-${PV} again.."
- echo
- die
- fi
-}
-
-src_unpack() {
- unpack ${A}
-}
-
-
-src_compile() {
- # Build the shared library first, we need -fPIC here
- gnatmake -Pasis -cargs ${CFLAGS} || die "building libasis.a failed"
- gnatmake -Pasis_dyn -f -cargs ${CFLAGS} || die "building libasis.so failed"
-
- # build tools
- # we need version.o generated for all the tools
- gcc -c -o obj/version.o gnat/version.c
- for fn in asistant gnatelim gnatstub ; do
- pushd tools/${fn}
- gnatmake -o ${fn} ${fn}-driver.adb -I../../asis/ -I../../gnat/ \
- -L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
- || die "building ${fn} failed"
- popd
- done
-
- pushd tools/adabrowse
- gcc -c util-nl.c
- gnatmake -I../../asis -I../../gnat adabrowse -L../../lib -cargs ${CFLAGS} \
- -largs -lasis ../../obj/version.o || die
- popd
- pushd tools/semtools
- gnatmake -I../../asis -I../../gnat adadep -L../../lib \
- -cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
- gnatmake -I../../asis -I../../gnat adasubst -L../../lib \
- -cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
- popd
-
- # common stuff is just docs in this case
- if use doc; then
- pushd documentation
- make all || die "Failed while compiling documentation"
- for fn in *.ps; do ps2pdf ${fn}; done
- popd
- fi
-}
-
-
-src_install () {
- # we need to adjust some vars defined in gnatbuild.eclass so that they use
- # gnat-gcc instead of asis
- LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
- BINPATH=${BINPATH/${PN}/${Gnat_Name}}
- DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
-
- # install the lib
- dodir ${LIBPATH}/adalib
- chmod 0755 lib_dyn/libasis.so
- cp lib_dyn/libasis.so ${D}${LIBPATH}/adalib/libasis-${eSLOT}.so
- insinto ${LIBPATH}/adalib
- doins obj/*.ali
- doins lib/libasis.a
- # make appropriate symlinks
- pushd ${D}${LIBPATH}/adalib
- ln -s libasis-${eSLOT}.so libasis.so
- popd
- # sources
- insinto ${LIBPATH}/adainclude
- doins gnat/*.ad[sb]
- doins asis/*.ad[sb]
-
- # tools
- mkdir -p ${D}${BINPATH}
- for fn in tools/{adabrowse,asistant,gnatelim,gnatstub}; do
- cp ${fn}/${fn:6} ${D}${BINPATH}
- done
- cp tools/semtools/ada{dep,subst} ${D}${BINPATH}
-
- # docs and examples
- dodoc documentation/*.{txt,ps}
- dohtml documentation/*.html
- # info's should go into gnat-gpl dirs
- insinto ${DATAPATH}/info/
- doins documentation/*.info
-
- insinto /usr/share/doc/${PF}
- doins -r documentation/*.pdf examples/ tutorial/ templates/
-}
-
-pkg_postinst() {
- echo
- elog "The ASIS is installed for the active gnat compiler at gnat's location."
- elog "No further configuration is necessary. Enjoy."
- echo
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis/asis-3.44.ebuild,v 1.9 2007/01/25 23:39:26 genone Exp $
-
-inherit eutils flag-o-matic
-
-My_PV="3_4_4-20041123"
-S="${WORKDIR}/${PN}-${My_PV}.src"
-DESCRIPTION="The Ada Semantic Interface Specification queries and services provide a consistent interface to information within the Ada Program Library created at compile time."
-SRC_URI="mirror://sourceforge/gnat-${PN}/${PN}-${My_PV}.src.tar.gz"
-RESTRICT="nomirror"
-
-HOMEPAGE="http://gnat-asis.sourceforge.net/"
-
-LICENSE="GMGPL"
-DEPEND=">=dev-lang/gnat-3.44
- app-text/tetex
- app-text/texi2html"
-RDEPEND=""
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-#may be it is even better to force plain -O2 -pipe -ftracer here
-replace-flags -O3 -O2
-
-src_unpack() {
- unpack ${A} ; cd ${S}
- sed -i -e "s:gcc:gnatgcc:" Makefile.stub
- sed -i -e "s:gcc:gnatgcc:" asis/a4g-gnat_int.ads
- cp ${S}/gnat/gnat-3.4.4/* ${S}/gnat/
-}
-
-src_compile() {
- emake -C obj libasis.a CFLAGS="${ADACFLAGS} -fPIC" \
- CC=gnatgcc RM="rm -f" GNATSRC=${S}/gnat/gnat-3.4.4 \
- || die "Failed while compiling ASIS"
- emake -C documentation || die "Failed while compiling documentation"
-
- # Build the shared library
- ${ADAC} -shared -Wl,-soname,libasis-${PV}.so.1 \
- -o obj/libasis-${PV}.so.1 obj/*.o -lc
-
- local MAKEFLAGS="-cargs ${ADACFLAGS} -I../../asis -I../../gnat -I../../obj -largs -L../../obj ../../obj/libasis.a"
- cd "${S}/tools/asistant"
- ${ADAMAKE} asistant-driver -o asistant ${MAKEFLAGS}
- cd "${S}/tools/gnatelim"
- ${ADAMAKE} gnatelim-driver -o gnatelim ${MAKEFLAGS}
- cd "${S}/tools/gnatstub"
- ${ADAMAKE} gnatstub-driver -o gnatstub ${MAKEFLAGS}
- cd "${S}/tools/semtools"
- ${ADAMAKE} adadep -o adadep ${MAKEFLAGS}
- ${ADAMAKE} adasubst -o adasubst ${MAKEFLAGS}
-# cd "${S}"
-}
-
-src_install () {
- dodoc documentation/*.{html,ps,txt}
- doinfo documentation/*.info
-
- insinto /usr/lib/ada/adalib/${PN}
- # Install the dynamic library
- chmod 0755 obj/libasis-${PV}.so.1
- doins obj/libasis-${PV}.so.1
-
- # Install the intermediate compiler information files
- doins obj/*.ali
- chmod 0644 obj/libasis.a
-
- # Install the static library
- newins obj/libasis.a libasis-${PV}.a
-
- #make local symlinks, as done usually in libs
- cd ${D}/usr/lib/ada/adalib/${PN}/
- ln -s libasis-${PV}.so.1 libasis-${PV}.so
- ln -s libasis-${PV}.so libasis.so
- ln -s libasis-${PV}.a libasis.a
- cd ${S}
-# dosym /usr/lib/ada/adalib/asis/libasis-${PV}.so.1 \
-# /usr/lib/ada/adalib/asis/libasis-${PV}.so
-# dosym /usr/lib/ada/adalib/asis/libasis-${PV}.so \
-# /usr/lib/ada/adalib/asis/libasis.so
-# dosym /usr/lib/ada/adalib/asis/libasis-${PV}.a \
-# /usr/lib/ada/adalib/asis/libasis.a
-
- #headers and binaries
- insinto /usr/lib/ada/adainclude/${PN}
- doins gnat/*.ad[sb]
- doins asis/*.ad[sb]
-
- insinto /usr/bin
- dobin tools/asistant/asistant
- dobin tools/gnatelim/gnatelim
- dobin tools/gnatstub/gnatstub
- dobin tools/semtools/adadep
- dobin tools/semtools/adasubst
-
- #set up environment
- dodir /etc/env.d
- echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
- > ${D}/etc/env.d/55asis
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
- >> ${D}/etc/env.d/55asis
-}
-
-pkg_postinst() {
- elog "The environment has been set up to make gnat automatically find files for"
- elog "ASIS. In order to immediately activate these settings please do:"
- elog "env-update"
- elog "source /etc/profile"
- elog "Otherwise the settings will become active next time you login"
-}
+++ /dev/null
-diff -Naur asis-3.15p-src.orig/asis/a4g-gnat_int.ads asis-3.15p-src/asis/a4g-gnat_int.ads
---- asis-3.15p-src.orig/asis/a4g-gnat_int.ads 2002-10-24 10:13:16.000000000 +0200
-+++ asis-3.15p-src/asis/a4g-gnat_int.ads 2003-06-09 22:34:06.000000000 +0200
-@@ -69,7 +69,7 @@
- -- Compiler Variables & Routines --
- -----------------------------------
-
-- Gcc : constant String := "gcc";
-+ Gcc : constant String := "gnatgcc";
-
- Nul_Argument_List : constant Argument_List (1 .. 0) := (others => null);
-
-diff -Naur asis-3.15p-src.orig/Makefile.stub asis-3.15p-src/Makefile.stub
---- asis-3.15p-src.orig/Makefile.stub 2002-10-24 10:13:16.000000000 +0200
-+++ asis-3.15p-src/Makefile.stub 2003-06-09 22:34:06.000000000 +0200
-@@ -1,8 +1,8 @@
- #host system
--host := $(shell gcc -dumpmachine)
-+host := $(shell gnatgcc -dumpmachine)
-
- # Where Asis library should be installed
--INSTALL_DIR=$(HOME)/local
-+INSTALL_DIR=/usr
-
- # Asis specific directories
- GNAT_DIR=../gnat
-@@ -55,4 +55,4 @@
-
- # GCC backend specific flags
- CFLAGS= -O2 -g
--CC=gcc
-+CC=gnatgcc
-diff -Naur asis-3.15p-src.orig/obj/Makefile asis-3.15p-src/obj/Makefile
---- asis-3.15p-src.orig/obj/Makefile 2002-10-24 10:13:17.000000000 +0200
-+++ asis-3.15p-src/obj/Makefile 2003-06-09 22:36:00.000000000 +0200
-@@ -1,8 +1,7 @@
- include ../Makefile.stub
--IDIR=$(INSTALL_DIR)/asis
-+IDIR=$(INSTALL_DIR)/share/asis
- install: libasis$(arext)
-- $(RMDIR) $(IDIR)
-- $(MKDIR) $(IDIR)
-+ install -d $(IDIR)
- $(INSTALL_FILES) *.ali $(IDIR)
- $(CHMOD) a-w $(IDIR)/*.ali
- $(INSTALL_FILES) *$(arext) $(IDIR)
+++ /dev/null
-MD5 649f92bca189da5c35d6c1af8d833c2f asis-3.15p-src.tgz 1401350
-RMD160 fc075e5b66b069d6aa7906a29917464fbb7e3ed2 asis-3.15p-src.tgz 1401350
-SHA256 f354edd8260c890e16eec694cf77df858c080ff0aa2302b876491dea4a168151 asis-3.15p-src.tgz 1401350
+++ /dev/null
-MD5 99760cffa59fbaf0b81fac9bac93cbb1 asis-3.4.4.tar.bz2 2874938
-RMD160 ec6acf720c4fb6a386fa6da8de40f88b5b9f310d asis-3.4.4.tar.bz2 2874938
-SHA256 2d3546d04839801ef617005e60ee24be9a0004f8481c70e3ea51a17443d094d5 asis-3.4.4.tar.bz2 2874938
+++ /dev/null
-MD5 719dd1bd298eea42b2947edda58951eb asis-gpl-2006.tar.bz2 1546623
-RMD160 98dbf455cb45a9cd2352b01d624cae5153b9b881 asis-gpl-2006.tar.bz2 1546623
-SHA256 66825814792b1ddce9a6e3cc43c7426f9a563d9dbaa1b254884139b51279ebf4 asis-gpl-2006.tar.bz2 1546623
+++ /dev/null
-MD5 9e0a3a9756b4f67ac8ad12ce2507d412 asis-3_4_4-20041123.src.tar.gz 3538230
-RMD160 13fc07c1ffdaa2f32455f559d092c0f69fa2e65e asis-3_4_4-20041123.src.tar.gz 3538230
-SHA256 2a96be349342d1452fef34ad13f7aefce0e3b0dbca52106b99253e6a1b6ec47d asis-3_4_4-20041123.src.tar.gz 3538230
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>ada</herd>
-<longdescription>Ada Semantic Interface Specification is a published international ISO standard (ISO/IEC 15291:1999). ASIS represents a compiler independent toolset consisting of a set of standard Ada interfaces which allow extraction of information about user source programs. This information was previously only available inside the Ada compilers themselves or exported in non-standard, and thus non portable mechanisms.</longdescription>
-</pkgmetadata>