diff options
author | George Shapovalov <george@gentoo.org> | 2003-07-22 07:54:08 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-07-22 07:54:08 +0000 |
commit | 85d60a6fc2461d1985a47b2f67d2ceeef2272637 (patch) | |
tree | 07fd4e59f721e6fcf191d1e2475bd36130c303ea /dev-ada/xmlada | |
parent | new package: ada xml support (diff) | |
download | historical-85d60a6fc2461d1985a47b2f67d2ceeef2272637.tar.gz historical-85d60a6fc2461d1985a47b2f67d2ceeef2272637.tar.bz2 historical-85d60a6fc2461d1985a47b2f67d2ceeef2272637.zip |
new package: ada xml support
Diffstat (limited to 'dev-ada/xmlada')
-rw-r--r-- | dev-ada/xmlada/Manifest | 5 | ||||
-rw-r--r-- | dev-ada/xmlada/files/digest-xmlada-0.7.1 | 1 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-0.7.1.ebuild | 59 |
3 files changed, 62 insertions, 3 deletions
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest index 3ad749f2b8dc..bff9de4c67ac 100644 --- a/dev-ada/xmlada/Manifest +++ b/dev-ada/xmlada/Manifest @@ -1,4 +1,3 @@ -MD5 6526cc8b6fe6750b49b1e7a7754f16a8 xmlada-0.7.1.ebuild 832 -MD5 973f03e6f349a470f04859a7256eaa9b ChangeLog 362 -MD5 afe511fafa98c713470bf579dd53f585 files/xmlada-0.7.1-gentoo.diff 582 +MD5 2feab8d991e711195c443e263aaba4f0 xmlada-0.7.1.ebuild 1320 +MD5 6be193bdd6256ad3823d299ef98f2013 ChangeLog 618 MD5 9d2b99c18fffcb88c4d56d762a271e19 files/digest-xmlada-0.7.1 61 diff --git a/dev-ada/xmlada/files/digest-xmlada-0.7.1 b/dev-ada/xmlada/files/digest-xmlada-0.7.1 new file mode 100644 index 000000000000..9480560adca5 --- /dev/null +++ b/dev-ada/xmlada/files/digest-xmlada-0.7.1 @@ -0,0 +1 @@ +MD5 385631115aa6546aaf6790e0ad59e399 XmlAda-0.7.1.tgz 312248 diff --git a/dev-ada/xmlada/xmlada-0.7.1.ebuild b/dev-ada/xmlada/xmlada-0.7.1.ebuild new file mode 100644 index 000000000000..45bd75437e39 --- /dev/null +++ b/dev-ada/xmlada/xmlada-0.7.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-0.7.1.ebuild,v 1.1 2003/07/22 07:53:55 george Exp $ + +inherit gnat + +IUSE="" + +Name="XmlAda" + +DESCRIPTION="XML library for Ada" +HOMEPAGE="http://libre.act-europe.fr/xmlada/" +SRC_URI="http://libre.act-europe.fr/xmlada/${Name}-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="dev-lang/gnat" + + +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 +} + +src_compile() +{ + 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" +} + +src_install () +{ + make PREFIX=${D}/usr install || die "install failed" + + dodoc AUTHORS COPYING README TODO docs/xml.ps + dohtml docs/*.html + doinfo docs/*.info + #need to give a proper name to info file + cd ${D}/usr/share/info + mv xml.info.gz ${PN}.info.gz +} |