summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2008-01-23 22:22:31 +0000
committerGeorge Shapovalov <george@gentoo.org>2008-01-23 22:22:31 +0000
commitc0e47975d3a078c2958c0029e9e8095f386b0c12 (patch)
tree331f7a4fedbf22764096036d59d2ade4668eaaae /dev-ada
parentstable amd64, bug 202217 (diff)
downloadgentoo-2-c0e47975d3a078c2958c0029e9e8095f386b0c12.tar.gz
gentoo-2-c0e47975d3a078c2958c0029e9e8095f386b0c12.tar.bz2
gentoo-2-c0e47975d3a078c2958c0029e9e8095f386b0c12.zip
added new version, now that we can correctly depend on a proper Ada standard
(Portage version: 2.1.4)
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/florist/ChangeLog10
-rw-r--r--dev-ada/florist/files/digest-florist-2007.03
-rw-r--r--dev-ada/florist/florist-2006.0.ebuild4
-rw-r--r--dev-ada/florist/florist-2007.0.ebuild52
4 files changed, 65 insertions, 4 deletions
diff --git a/dev-ada/florist/ChangeLog b/dev-ada/florist/ChangeLog
index b6a6fd7e7dfe..d45bc2dfc4ca 100644
--- a/dev-ada/florist/ChangeLog
+++ b/dev-ada/florist/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ada/florist
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/ChangeLog,v 1.15 2007/05/27 09:45:01 george Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/ChangeLog,v 1.16 2008/01/23 22:22:31 george Exp $
+
+*florist-2007.0 (23 Jan 2008)
+
+ 23 Jan 2008; George Shapovalov <george@gentoo.org> florist-2006.0.ebuild,
+ +florist-2007.0.ebuild:
+ added new version, now that we can correctly depend on a proper Ada standard
26 May 2007; George Shapovalov <george@gentoo.org>
-files/florist-3.15p-fix.patch, -florist-3.15p.ebuild:
diff --git a/dev-ada/florist/files/digest-florist-2007.0 b/dev-ada/florist/files/digest-florist-2007.0
new file mode 100644
index 000000000000..55a6ea7207b5
--- /dev/null
+++ b/dev-ada/florist/files/digest-florist-2007.0
@@ -0,0 +1,3 @@
+MD5 3851f1b030d3d5f309c15db2714c1448 florist-2007.0.tar.bz2 167089
+RMD160 c3daa44b2019ab2c33b2bf7d477a4c26a1c8757c florist-2007.0.tar.bz2 167089
+SHA256 e6047390bba1fc70feeafd2009a7a00b6bb6126bb64520e0c0f973aa6ced838a florist-2007.0.tar.bz2 167089
diff --git a/dev-ada/florist/florist-2006.0.ebuild b/dev-ada/florist/florist-2006.0.ebuild
index 03f1a479f515..16e0a88b7722 100644
--- a/dev-ada/florist/florist-2006.0.ebuild
+++ b/dev-ada/florist/florist-2006.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/florist-2006.0.ebuild,v 1.4 2008/01/23 22:11:10 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/florist-2006.0.ebuild,v 1.5 2008/01/23 22:22:31 george Exp $
inherit gnat libtool
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-DEPEND="virtual/gnat"
+DEPEND="virtual/ada"
lib_compile()
{
diff --git a/dev-ada/florist/florist-2007.0.ebuild b/dev-ada/florist/florist-2007.0.ebuild
new file mode 100644
index 000000000000..96a5bafb4ae8
--- /dev/null
+++ b/dev-ada/florist/florist-2007.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/florist-2007.0.ebuild,v 1.1 2008/01/23 22:22:31 george Exp $
+
+inherit gnat libtool
+
+IUSE=""
+
+DESCRIPTION="Posix bindings for Ada"
+HOMEPAGE="http://libre.adacore.com/"
+SRC_URI="http://dev.gentoo.org/~george/src/${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
+}