diff options
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/adadoc/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/adadoc/adadoc-2.1.ebuild | 59 | ||||
-rw-r--r-- | dev-ada/adadoc/metadata.xml | 12 | ||||
-rw-r--r-- | dev-ada/aunit/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/aunit/aunit-1.05.ebuild | 50 | ||||
-rw-r--r-- | dev-ada/aunit/aunit-2.01.ebuild | 51 | ||||
-rw-r--r-- | dev-ada/aunit/aunit-2.03.ebuild | 51 | ||||
-rw-r--r-- | dev-ada/aunit/metadata.xml | 9 | ||||
-rw-r--r-- | dev-ada/florist/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/florist/florist-2007.0.ebuild | 52 | ||||
-rw-r--r-- | dev-ada/florist/metadata.xml | 16 | ||||
-rw-r--r-- | dev-ada/xmlada/Manifest | 2 | ||||
-rw-r--r-- | dev-ada/xmlada/metadata.xml | 9 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-1.0-r4.ebuild | 97 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-2.2.0-r1.ebuild | 103 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-2.2.0.ebuild | 70 |
16 files changed, 0 insertions, 588 deletions
diff --git a/dev-ada/adadoc/Manifest b/dev-ada/adadoc/Manifest deleted file mode 100644 index dfd990ba9a3..00000000000 --- a/dev-ada/adadoc/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST HowToWriteModule.pdf 80918 SHA256 5d29471dbcedf6c0e6a54bb1e970b79fb1f93cfab0ecc6dc4caa1d1a510e892a SHA512 a7285e7f434b1615ee07e368827727b98e8d43e9d74da855f6fab65feb4bd8ff08f7af120a4032eab43ed9fb34d72646086f9fbfd65a5c1e4f83fc932c640d62 WHIRLPOOL a2b27f9e31c1b95468983bf6874db2cee0ed569c79d809a1742491cab4bc60dca5d09deebc40c6b5b4670390cebb75dfb5407931a59a60c3334c8355fb4f202f -DIST UserGuide.pdf 96439 SHA256 28b378b05c2c937c4f2f0d1bf7c42347eef80b03c3febd0d1dfce9a2390b5758 SHA512 c1369d4b61dedfc199fce57b874cacecb82fa37cc4bb2d3dfaf3021e878f66f20913f5642f2b31f80588d1507b4a34e2ab58c4d78ded317d5385e1897b52ece8 WHIRLPOOL 405ec06cbde2cfd11c83ab6fe3a4e270bca9a84b7b11bdfb3c1714276b49ff45d68eba273cb90d555bba29dffdba47cecd3c89ae72a30d946e4f40cc1f15dfb6 -DIST adadoc-v2.1.src.tar.bz2 1063387 SHA256 dc98335baf354c3e6b41ebd62c3baa508ef5cad5674e6a1a36f4af809d73fed7 SHA512 948f53d6c33bad540d75227a3b620badc81fa6c2a8f8e4a57c7bf42809b8adfa198b9b2e5fdbbbbe8ce5a3979f721e371189517135a218005c7fa16dffdf4ecd WHIRLPOOL e79a445b598b653dd3aa2b19750253ba03f0608d63c3390ccccc058fd64a2086b280d45e1aa5dc2bdfc8d4901526df586034c7cad09d81dc818b6266bd962434 diff --git a/dev-ada/adadoc/adadoc-2.1.ebuild b/dev-ada/adadoc/adadoc-2.1.ebuild deleted file mode 100644 index 9350510fabf..00000000000 --- a/dev-ada/adadoc/adadoc-2.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils gnat - -DESCRIPTION="A tool for Ada95 to create documentation from specification packages" - -HOMEPAGE="http://adadoc.sourceforge.net" - -SRC_URI="mirror://sourceforge/adadoc/${PN}-v${PV}.src.tar.bz2 - mirror://sourceforge/adadoc/UserGuide.pdf - mirror://sourceforge/adadoc/HowToWriteModule.pdf" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -IUSE="" - -DEPEND="virtual/ada - >=dev-ada/xmlada-1.0-r2" - -RDEPEND="" - -S=${WORKDIR}/dev - -lib_compile() { - ${ADAMAKE} adadoc -Itools -Iparser -Imodules -cargs ${ADACFLAGS} -bargs -shared \ - `xmlada-config` || die -} - -lib_install() { - cp adadoc ${DL} -} - -src_install() { - #set up environment - echo "PATH=%DL%" > ${LibEnv} - echo "LDPATH=%DL%" >> ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} - - gnat_src_install - - insinto /usr/share/doc/adadoc-${PV} - doins "${DISTDIR}"/UserGuide.pdf - doins "${DISTDIR}"/HowToWriteModule.pdf - insinto /usr/share/adadoc - doins adadoc_tags.cfg -} - -pkg_postinst() { - eselect gnat update - elog "The environment has been set up to make gnat automatically find files for" - elog "${PN}. In order to immediately activate these settings please do:" - elog "env-update && source /etc/profile" - elog "Otherwise the settings will become active next time you login" -} diff --git a/dev-ada/adadoc/metadata.xml b/dev-ada/adadoc/metadata.xml deleted file mode 100644 index 278afb287b0..00000000000 --- a/dev-ada/adadoc/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ada@gentoo.org</email> - <name>Gentoo Resources for Ada</name> - </maintainer> - <longdescription>AdaDoc is a tool for developers using the Ada95 programming language. It's goal is to create documentation in different format from a specification package.</longdescription> - <upstream> - <remote-id type="sourceforge">adadoc</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest deleted file mode 100644 index 6cfe5d69f1e..00000000000 --- a/dev-ada/aunit/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST aunit-1.05.tar.bz2 109000 SHA256 76a7240203ab708743bc40fe29209e04b3edbe429a4dfb35be580fc80d490b09 SHA512 3a51f3d614061bed124636852b3677f95a739b0ffc748d2f6570cd2bfcf73db36364504b07e4169e268861bdce5a22e2d3a467d809a8776a8e407e83a7364a77 WHIRLPOOL eb403e4e30887ae202302d8b26ba3909190bd05d721688cde685b98539eb37c4db52f9a07e9547be380d735593dfd349a2e4d1f55153d5b2cdb38d3caa0403fe -DIST aunit-2.01.tar.bz2 186622 SHA256 fca41d07a7e5a7f82e8f53fb8d579c250ae5436adf9f677dfa2d3f657453b8f9 SHA512 6a07745cc6d4027b48064240d9511634725201ed3f59f3adb6907ec3b58409cca472cd0790c364ceb412c14fec7633d62277cdaf94c66458fab5c11c8fe058bf WHIRLPOOL fea15eeece2023f6388e7ad9dafcdd93c1d263b8a356549d85189ab137868b7e7d7641cf72440dfb39c4ebba37bd19dd665e6d434b506b84882955aa04bd46a7 -DIST aunit-2.03.tar.bz2 218201 SHA256 b57862b01094e9db2d564aeb25377cf91a678802f4124e455a432e1ec8fb8367 SHA512 f3afb4ae05e493eb598368f223dc8dc1740ee11b58f00394b6bececba4a2c7409ed2b48bbc7104a4099ac919e51e741ebe2738133410274240ccecd23fb2ad7d WHIRLPOOL 4e3b46b8156fc25fb2f1270cb08273b81ed5e054c196453745a77a1e99302857b7ecd36a6c071981e7e09f1efc7cb5d1dac933053f60dd5828bb0aa62fc7570a diff --git a/dev-ada/aunit/aunit-1.05.ebuild b/dev-ada/aunit/aunit-1.05.ebuild deleted file mode 100644 index cf7eacee4d8..00000000000 --- a/dev-ada/aunit/aunit-1.05.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat - -IUSE="" - -DESCRIPTION="Aunit, Ada unit testing framework" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -HOMEPAGE="https://libre.adacore.com/aunit/" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" -SLOT="0" - -DEPEND="virtual/ada" -RDEPEND="${DEPEND}" - -lib_compile() { - gnatmake -Paunit - gnatmake -Paunit_dyn -} - -lib_install() { - mv aunit/lib/* ${DL} - chmod 0444 ${DL}/*.ali -} - -src_install () { - dodir ${AdalibSpecsDir}/${PN} - insinto ${AdalibSpecsDir}/${PN} - doins aunit/*/*.ad? - - dodir ${AdalibDataDir}/${PN} - insinto ${AdalibDataDir}/${PN} - doins -r support/aunit.xml template/ - - #set up environment - echo "LDPATH=%DL%" > ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} - - gnat_src_install - - dodoc README docs/aunit.txt - dohtml docs/aunit.{html,css} - doinfo docs/aunit.info - cp -dPr test/ docs/aunit.pdf "${D}/usr/share/doc/${PF}" -} diff --git a/dev-ada/aunit/aunit-2.01.ebuild b/dev-ada/aunit/aunit-2.01.ebuild deleted file mode 100644 index 14a7c20a5e2..00000000000 --- a/dev-ada/aunit/aunit-2.01.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat - -IUSE="" - -DESCRIPTION="Aunit, Ada unit testing framework" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -HOMEPAGE="https://libre.adacore.com/aunit/" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" -SLOT="0" - -DEPEND="virtual/ada" -RDEPEND="${DEPEND}" - -lib_compile() { - cd aunit - SUPPORT_EXCEPTION=yes SUPPORT_CALENDAR=yes gnatmake -Paunit_build - SUPPORT_EXCEPTION=yes SUPPORT_CALENDAR=yes gnatmake -Paunit_build_dyn -} - -lib_install() { - mv aunit/lib/* ${DL} - chmod 0444 ${DL}/*.ali -} - -src_install () { - dodir ${AdalibSpecsDir}/${PN} - insinto ${AdalibSpecsDir}/${PN} - doins aunit/*/*.ad? aunit/framework/*/*.ad? - - dodir ${AdalibDataDir}/${PN} - insinto ${AdalibDataDir}/${PN} - doins -r support/aunit.xml template/ - - #set up environment - echo "LDPATH=%DL%" > ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} - - gnat_src_install - - dodoc README docs/aunit.txt - dohtml docs/aunit.{html,css} - doinfo docs/aunit.info - cp -dPr test/ docs/aunit.pdf "${D}/usr/share/doc/${PF}" -} diff --git a/dev-ada/aunit/aunit-2.03.ebuild b/dev-ada/aunit/aunit-2.03.ebuild deleted file mode 100644 index 4df95e2f9b1..00000000000 --- a/dev-ada/aunit/aunit-2.03.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat - -IUSE="" - -DESCRIPTION="Aunit, Ada unit testing framework" -SRC_URI="https://dev.gentoo.org/~george/src/${P}.tar.bz2" -HOMEPAGE="https://libre.adacore.com/aunit/" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" -SLOT="0" - -DEPEND="virtual/ada" -RDEPEND="${DEPEND}" - -lib_compile() { - cd aunit - SUPPORT_EXCEPTION=yes SUPPORT_CALENDAR=yes gnatmake -Paunit_build - SUPPORT_EXCEPTION=yes SUPPORT_CALENDAR=yes gnatmake -Paunit_build_dyn -} - -lib_install() { - mv aunit/lib/* ${DL} - chmod 0444 ${DL}/*.ali -} - -src_install () { - dodir ${AdalibSpecsDir}/${PN} - insinto ${AdalibSpecsDir}/${PN} - doins aunit/*/*.ad? aunit/framework/*/*.ad? - - dodir ${AdalibDataDir}/${PN} - insinto ${AdalibDataDir}/${PN} - doins -r support/aunit.xml template/ - - #set up environment - echo "LDPATH=%DL%" > ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} - - gnat_src_install - - dodoc README docs/aunit.txt - dohtml docs/aunit.{html,css} - doinfo docs/aunit.info - cp -dPr test/ docs/aunit.pdf "${D}/usr/share/doc/${PF}" -} diff --git a/dev-ada/aunit/metadata.xml b/dev-ada/aunit/metadata.xml deleted file mode 100644 index 2c93d7be153..00000000000 --- a/dev-ada/aunit/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>ada@gentoo.org</email> - <name>Gentoo Resources for Ada</name> -</maintainer> -<longdescription>AUnit is a set of Ada packages based on the xUnit family of unit test frameworks. It's intended as a developer's tool to facilitate confident writing and evolution of Ada software. It is purposely lightweight, as one of its main goals is to make it easy to develop and run unit tests, rather than to generate artifacts for process management. The framework supports easy composition of sets of unit tests to provide flexibility in determining what tests to run for a given purpose.</longdescription> -</pkgmetadata> diff --git a/dev-ada/florist/Manifest b/dev-ada/florist/Manifest deleted file mode 100644 index 231bf25ce6c..00000000000 --- a/dev-ada/florist/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST florist-2007.0.tar.bz2 167089 SHA256 e6047390bba1fc70feeafd2009a7a00b6bb6126bb64520e0c0f973aa6ced838a SHA512 b04f947e08c48364fd339cf0e6437c2f5d869f2195d9b364ddd95b364b481d525a6784f39d55b9f0d495b3a0e8966b2a4821e086e79901ffcd330da42395beca WHIRLPOOL f2b170f78a982bfeb629b2ceb69b476ff0fa50476ddc8688b9b13dd401205866f9d2c21c9c5d79cce2db3c527a15eca93ed70630f1ab16cad5e59dd2f37774a9 diff --git a/dev-ada/florist/florist-2007.0.ebuild b/dev-ada/florist/florist-2007.0.ebuild deleted file mode 100644 index 774ca57310d..00000000000 --- a/dev-ada/florist/florist-2007.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat libtool - -IUSE="" - -DESCRIPTION="Posix bindings for Ada" -HOMEPAGE="http://libre.adacore.com/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -DEPEND=">=virtual/ada-2005" - -lib_compile() -{ - elibtoolize - econf || die "econf failed" - emake || die "make failed" - make floristlib || die "building library failed" - einfo "lib_compile completed" -} - -# NOTE: we are using $1 - the passed gnat profile name -lib_install() -{ - # install goal is just (access violating) mkdir and 2 cp's - # instead move stuff properly here - cp -rp "${SL}"/floristlib/{libflorist.a,*.ali} "${DL}" - chmod 0444 "${DL}"/*.ali -} - -src_install () -{ - # install sources - dodir "${AdalibSpecsDir}/${PN}" - insinto "${AdalibSpecsDir}/${PN}" - doins -r *.ad{b,s} *.c *.gpb gnatsocks/ - - #set up environment - echo "LDPATH=%DL%" >> ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv} - - gnat_src_install - - dodoc README -} diff --git a/dev-ada/florist/metadata.xml b/dev-ada/florist/metadata.xml deleted file mode 100644 index b50272fb977..00000000000 --- a/dev-ada/florist/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ada@gentoo.org</email> - <name>Gentoo Resources for Ada</name> - </maintainer> - <longdescription> - Florist is the (F)lorida (S)tate (U)niversity open-source implementaton - of IEEE Standard 1003.5b-1996, the POSIX Ada binding, including real-time - extensions. This software provides access to the UNIX operating system services - for application programs written in the Ada programming language. It is - designed to be self-configuring for a POSIX-compliant system. A suite of - test programs is included. - </longdescription> -</pkgmetadata> diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest deleted file mode 100644 index 04ee3943bc0..00000000000 --- a/dev-ada/xmlada/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST XmlAda-1.0.tgz 322079 SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917 SHA512 2b692d5bf1e1c28a303cee42fa43d9f5dc578aa5c93134ae25f3abe04ab3b6c3d5744ea0aa28d1dff0fc82fb190d1e60a1c8d6cd2866989b0cd63c2af438126b WHIRLPOOL 21db8cdb9432848a69b8abe2ebcc152be37876b28387e4922fc56f72190fcc9da791a9b87f1736aaaec9b4962aa28df46614ef3731eec8711d418583ff383a00 -DIST xmlada-2.2.0.tar.bz2 591666 SHA256 3935a1a158a120bb53d5417a518b7283b5d97f478cf3af0f5e02222ae3b5c7b4 SHA512 dc8e1c963f4d40518be1058972697ea629a065e709704b05d501e62be77733f00419d9578fcc1305d3fbc5b90dae1742e7c2ae2ae0e3803c47e767e57770872a WHIRLPOOL c3cd616301b8be9f126f55f3a069a34974a80d3753839b8c8745edfb96b86ef3d77ae009689e881f56c9f938fa1c62f3d86a6d9a4222a661e3f43c9077911af4 diff --git a/dev-ada/xmlada/metadata.xml b/dev-ada/xmlada/metadata.xml deleted file mode 100644 index 5de3dc8b6f0..00000000000 --- a/dev-ada/xmlada/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>ada@gentoo.org</email> - <name>Gentoo Resources for Ada</name> -</maintainer> -<longdescription>XML/Ada includes a complete XML parser that fully supports the XML 1.0 specifications, including DTDs, entity resolution, external entities,attribute normalization, and conditional sections. XML/Ada also supports the SAX 2.0 standard. Through an object-oriented Ada interface, the XML/Ada SAX implementation provides an extremely efficient way to convert XML streams to application-specific data representations. XML/Ada includes full support for the core part of DOM 2.0. In addition to this XML support, XML/Ada includes an extensive set of packages to read, manipulate and write Unicode streams, in various encodings like UTF-8, UTF-16 and UTF-32. It provides a conversion mechanism between Unicode and encodings such as Latin-1, Latin-2, etc.</longdescription> -</pkgmetadata> diff --git a/dev-ada/xmlada/xmlada-1.0-r4.ebuild b/dev-ada/xmlada/xmlada-1.0-r4.ebuild deleted file mode 100644 index 592676f940e..00000000000 --- a/dev-ada/xmlada/xmlada-1.0-r4.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat versionator - -IUSE="" - -Name="XmlAda" - -DESCRIPTION="XML library for Ada" -HOMEPAGE="http://libre2.adacore.com/xmlada/" -SRC_URI="https://libre2.adacore.com/xmlada/${Name}-${PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -DEPEND="virtual/gnat - >=sys-apps/sed-4" -RDEPEND="" - -src_unpack() -{ - unpack ${A} - - cd "${S}" - #making .dvi docs is problemmatic. Skip that for now - sed -i -e "s/all: obj test docs/all: obj test/" Makefile.in - #increase stack size - cd sax - sed -i -e "s/Stack_Size : constant Natural := 64;/Stack_Size : constant Natural := 128;/" sax-readers.adb -} - -lib_compile() -{ - # for some reason shared libs are assigned version numbers from some - # pre-release (possibly when upstream stopped to care about them?) - local MAJOR=$(get_major_version) - local MINOR=$(get_version_component_range 2-) - # force building shared libs and fix broken shared lib versioning - sed -i -e "s:BUILD_SHARED=FALSE:BUILD_SHARED=TRUE:" \ - -e "s:libxmlada_\${@\:%_install=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \ - -e "s:libxmlada_\${@\:%_inst=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \ - -e "s:FPIC=:FPIC=-fPIC:" Makefile.in - - export CFLAGS=$ADACFLAGS - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-shared \ - --host=${CHOST} \ - --build=${CHOST} \ - --target=${CHOST} \ - --with-system-zlib || die - - export COMPILER=gnatmake - make || die "make failed" -} - -# here we need to use the $1 - passed gnat profile name -lib_install() { - make PREFIX="${DL}" install || die "install failed" - - # fix xmlada-config hardsets locations - sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \ - -e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}:g" \ - "${DL}"/bin/xmlada-config - - # now move stuff to proper location and delete extras - mv "${DL}"/bin/xmlada-config "${DL}"/lib/* "${DL}"/include/${PN}/*.ali "${DL}" - rm -rf "${DL}"/bin "${DL}"/include "${DL}"/lib -} - -src_install () -{ - cd "${S}" - dodir ${AdalibSpecsDir}/${PN} - insinto ${AdalibSpecsDir}/${PN} - doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad? - - #set up environment - echo "PATH=%DL%" > ${LibEnv} - echo "LDPATH=%DL%" >> ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} - - gnat_src_install - - dodoc AUTHORS README docs/xml.ps - dohtml docs/*.html - doinfo docs/*.info - #need to give a proper name to the info file - cd "${D}"/usr/share/info - mv xml.info.gz ${PN}.info.gz - -} diff --git a/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild b/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild deleted file mode 100644 index 3ab0747376b..00000000000 --- a/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat versionator - -IUSE="" - -DESCRIPTION="XML library for Ada" -HOMEPAGE="http://libre.adacore.com/xmlada/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -DEPEND="virtual/ada - virtual/latex-base - sys-apps/texinfo - >=sys-apps/sed-4" -RDEPEND="" - -src_unpack() -{ - unpack ${A} - cd "${S}" - - # adjusting profile independent stuff in project files -# for fn in distrib/*/xmlada*.gpr; do -# sed -i -e "s:../../include/xmlada:${AdalibSpecsDir}/${PN}:" ${fn} -# done - sed -i -e "s:\.\./\.\./include/xmlada:${AdalibSpecsDir}/${PN}:" \ - distrib/*/xmlada*.gpr || die "failed to adjust project files" - - # fix profile independent stuff in xmlada-config - sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \ - xmlada-config.in || die "failed to adjust xmlada-config" - - # doinfo changed from gzipping stuff to bzipping, so we better rename the - # file before calling it to guard against other possible changes - mv docs/xml.info docs/${PN}.info -} - -lib_compile() -{ - econf - emake -} - -# NOTE: we are using $1 - the passed gnat profile name -lib_install() { - # bug #283160 - emake -j1 PREFIX="${DL}" install || die "install failed" - - pushd "${DL}" - # fix xmlada-config hardsets locations and move it to proper location - sed -i -e "s:\${prefix}/lib/xmlada:${AdalibLibTop}/$1/${PN}:" \ - -e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}:g" \ - bin/xmlada-config - mv bin/xmlada-config "${DLbin}" - - # sed and organize gpr files - sed -i -e "s:\.\./xmlada:${AdalibLibTop}/$1/${PN}:" "${DL}"/lib/gnat/*.gpr - mv lib/gnat/* "${DLgpr}" - - # the library and *.ali - mv lib/${PN}/* . - rm -rf bin include share lib - - # fix the .so links - rm *.so - for fn in *.so.* ; do - ln -s ${fn} ${fn%so*}so - done - popd -} - -src_install () -{ - cd "${S}" - dodir ${AdalibSpecsDir}/${PN} - insinto ${AdalibSpecsDir}/${PN} - doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad? schema/*.ad? - - #set up environment - echo "PATH=%DLbin%" > ${LibEnv} - echo "LDPATH=%DL%" >> ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv} - echo "ADA_PROJECT_PATH=%DLgpr%" >> ${LibEnv} - - gnat_src_install - - dodoc AUTHORS README TODO features - dohtml docs/*.html - doinfo docs/*.info - insinto /usr/share/doc/${PF} - doins docs/*.pdf distrib/xmlada_gps.py - - dodir /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF}/examples - doins -r docs/{dom,sax,schema} -} diff --git a/dev-ada/xmlada/xmlada-2.2.0.ebuild b/dev-ada/xmlada/xmlada-2.2.0.ebuild deleted file mode 100644 index 77705b4f55e..00000000000 --- a/dev-ada/xmlada/xmlada-2.2.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit gnat versionator - -IUSE="" - -DESCRIPTION="XML library for Ada" -HOMEPAGE="http://libre.adacore.com/xmlada/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -DEPEND="virtual/ada - virtual/latex-base - sys-apps/texinfo - >=sys-apps/sed-4" -RDEPEND="" - -lib_compile() -{ - econf || die "econf failed" - emake || die "make failed" -} - -# NOTE: we are using $1 - the passed gnat profile name -lib_install() { - make PREFIX="${DL}" install || die "install failed" - - # fix xmlada-config hardsets locations - sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \ - -e "s:\${prefix}/lib/xmlada:${AdalibLibTop}/$1/${PN}/lib:" \ - -e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}/lib:g" \ - "${DL}"/bin/xmlada-config - - # now move stuff to proper location and delete extras -# mv "${DL}"/bin/xmlada-config "${DL}"/lib/* "${DL}"/include/${PN}/*.ali "${DL}" - rm -rf "${DL}"/include "${DL}"/share -} - -src_install () -{ - cd "${S}" - dodir ${AdalibSpecsDir}/${PN} - insinto ${AdalibSpecsDir}/${PN} - doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad? schema/*.ad? - - #set up environment - echo "PATH=%DL%/bin" > ${LibEnv} - echo "LDPATH=%DL%/lib" >> ${LibEnv} - echo "ADA_OBJECTS_PATH=%DL%/lib" >> ${LibEnv} - echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} - - gnat_src_install - - dodoc AUTHORS README TODO features - dohtml docs/*.html - doinfo docs/*.info - # give a proper name to the info file - mv "${D}"/usr/share/info/xml.info.gz "${D}"/usr/share/info/${PN}.info.gz - insinto /usr/share/doc/${PF} - doins docs/*.pdf distrib/xmlada_gps.py - - dodir /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF}/examples - doins -r docs/{dom,sax,schema} -} |