summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-07-14 00:39:58 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-07-14 00:39:58 +0000
commitfc9809c92048e180625ccd3f43ef20efe22c0209 (patch)
treea854b2d0d81d73572da04a17e65ef106c702006f /dev-ada/adabindx/adabindx-0.7.2.ebuild
parentadd ipv6 support properly (diff)
downloadgentoo-2-fc9809c92048e180625ccd3f43ef20efe22c0209.tar.gz
gentoo-2-fc9809c92048e180625ccd3f43ef20efe22c0209.tar.bz2
gentoo-2-fc9809c92048e180625ccd3f43ef20efe22c0209.zip
new package: ada bindings to X/motif, added metadata throughout
Diffstat (limited to 'dev-ada/adabindx/adabindx-0.7.2.ebuild')
-rw-r--r--dev-ada/adabindx/adabindx-0.7.2.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-ada/adabindx/adabindx-0.7.2.ebuild b/dev-ada/adabindx/adabindx-0.7.2.ebuild
new file mode 100644
index 000000000000..0eeda7b9b547
--- /dev/null
+++ b/dev-ada/adabindx/adabindx-0.7.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adabindx/adabindx-0.7.2.ebuild,v 1.1 2003/07/14 00:39:55 george Exp $
+#
+
+DESCRIPTION="An Ada-binding to the X Window System and *tif."
+SRC_URI="http://home.arcor.de/hfvogt/${P}.tar.bz2"
+HOMEPAGE="http://home.arcor.de/hfvogt/programming.html"
+
+LICENSE="GMGPL"
+DEPEND="dev-lang/gnat
+ virtual/x11"
+RDEPEND=""
+KEYWORDS="~x86"
+SLOT="0"
+IUSE=""
+
+inherit gnat
+
+src_unpack() {
+ unpack "${P}.tar.bz2"
+ cd "${S}"
+ patch -p1 < ${FILESDIR}/${P}.diff
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ dodoc CHANGES COPYING INSTALL README TODO
+
+ insinto /usr/lib/ada/adalib/adabindx
+# chmod 0644 lib/libadabindx.a
+# mv lib/libadabindx.a lib/libadabindx-${PV}.a
+ doins lib/libadabindx-${PV}.a
+# dosym /usr/lib/ada/adalib/adabindx/libadabindx-${PV}.a \
+# /usr/lib/ada/adalib/adabindx/libadabindx.a
+ doins lib/*.ali
+
+ cd ${D}/usr/lib/ada/adalib/adabindx/
+ ln -s libadabindx-${PV}.a libadabindx.a
+ cd ${S}
+
+ insinto /usr/lib/ada/adainclude/adabindx
+ doins lib/*.ads
+ doins lib/*.adb
+
+ #install examples
+ cp -r examples ${D}/usr/share/doc/${PF}/
+}
+