summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-05-28 16:04:15 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-05-28 16:04:15 +0000
commit231c8ae393c9e70c3ad563d35e24f290c9883940 (patch)
treea0429fa7d38ee98899e9527461b7f79fba6c884d /dev-ada
parentinternal fix to cd ${SL} before lib_install (diff)
downloadgentoo-2-231c8ae393c9e70c3ad563d35e24f290c9883940.tar.gz
gentoo-2-231c8ae393c9e70c3ad563d35e24f290c9883940.tar.bz2
gentoo-2-231c8ae393c9e70c3ad563d35e24f290c9883940.zip
new (2007) version
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/aunit/ChangeLog7
-rw-r--r--dev-ada/aunit/aunit-2.01.ebuild50
-rw-r--r--dev-ada/aunit/files/digest-aunit-2.013
3 files changed, 59 insertions, 1 deletions
diff --git a/dev-ada/aunit/ChangeLog b/dev-ada/aunit/ChangeLog
index f2a5bba79536..f7ad3134aeab 100644
--- a/dev-ada/aunit/ChangeLog
+++ b/dev-ada/aunit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ada/aunit
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/ChangeLog,v 1.9 2007/05/28 15:30:24 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/ChangeLog,v 1.10 2007/05/28 16:04:15 george Exp $
+
+*aunit-2.01 (28 May 2007)
+
+ 28 May 2007; George Shapovalov <george@gentoo.org> +aunit-2.01.ebuild:
+ new (2007) version
*aunit-1.05 (28 May 2007)
diff --git a/dev-ada/aunit/aunit-2.01.ebuild b/dev-ada/aunit/aunit-2.01.ebuild
new file mode 100644
index 000000000000..ecbeacdc65c0
--- /dev/null
+++ b/dev-ada/aunit/aunit-2.01.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/aunit-2.01.ebuild,v 1.1 2007/05/28 16:04:15 george Exp $
+
+inherit gnat
+
+IUSE=""
+
+DESCRIPTION="Aunit, Ada unit testing framework"
+SRC_URI="http://dev.gentoo.org/~george/src/${P}.tar.bz2"
+HOMEPAGE="https://libre.adacore.com/aunit/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+
+DEPEND="virtual/gnat"
+
+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 COPYING 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/files/digest-aunit-2.01 b/dev-ada/aunit/files/digest-aunit-2.01
new file mode 100644
index 000000000000..c6920d9ea606
--- /dev/null
+++ b/dev-ada/aunit/files/digest-aunit-2.01
@@ -0,0 +1,3 @@
+MD5 26a8abc82dc8e6bd92e43e7fe2890383 aunit-2.01.tar.bz2 186622
+RMD160 7e1ef1df08c9fd02cdc712a6008d8a91f2c70950 aunit-2.01.tar.bz2 186622
+SHA256 fca41d07a7e5a7f82e8f53fb8d579c250ae5436adf9f677dfa2d3f657453b8f9 aunit-2.01.tar.bz2 186622