first addition - a tcl/tk Ada binding
authorGeorge Shapovalov <george@gentoo.org>
Tue, 13 Feb 2007 14:35:09 +0000 (14:35 +0000)
committerGeorge Shapovalov <george@gentoo.org>
Tue, 13 Feb 2007 14:35:09 +0000 (14:35 +0000)
Package-Manager: portage-2.1.2-r9

dev-ada/tash/ChangeLog [new file with mode: 0644]
dev-ada/tash/Manifest [new file with mode: 0644]
dev-ada/tash/files/digest-tash-8.4.1a [new file with mode: 0644]
dev-ada/tash/metadata.xml [new file with mode: 0644]
dev-ada/tash/tash-8.4.1a.ebuild [new file with mode: 0644]

diff --git a/dev-ada/tash/ChangeLog b/dev-ada/tash/ChangeLog
new file mode 100644 (file)
index 0000000..395e842
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ada/tash
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/tash/ChangeLog,v 1.1 2007/02/13 14:35:09 george Exp $
+
+*tash-8.4.1a (13 Feb 2007)
+
+  13 Feb 2007; George Shapovalov <george@gentoo.org> +metadata.xml,
+  +tash-8.4.1a.ebuild:
+  first addition - a tcl/tk Ada binding
+
diff --git a/dev-ada/tash/Manifest b/dev-ada/tash/Manifest
new file mode 100644 (file)
index 0000000..ce9f25c
--- /dev/null
@@ -0,0 +1,16 @@
+DIST tash-8.4.1a.tar.bz2 895703 RMD160 9e4b22ac89fb3934bd98d050a167c71437b41249 SHA1 c30e8cf93f3121d1280a919afe8b91926d95031e SHA256 ae7dfebd61c6d465364beced3bdd825c15e0719a64074145512cf3923a2e784a
+EBUILD tash-8.4.1a.ebuild 1296 RMD160 9deff4362dadf4076348202a3e9032c36fc34322 SHA1 bfc09b3d0b27e6b0edb2a92e9ac822565bccbc6e SHA256 35a736b02fbe1ed24ec5cd5f50c5a44eca13d38a6dac653349c413bdacaa644c
+MD5 99de5794353d108671628a9ef3cd0e30 tash-8.4.1a.ebuild 1296
+RMD160 9deff4362dadf4076348202a3e9032c36fc34322 tash-8.4.1a.ebuild 1296
+SHA256 35a736b02fbe1ed24ec5cd5f50c5a44eca13d38a6dac653349c413bdacaa644c tash-8.4.1a.ebuild 1296
+MISC ChangeLog 357 RMD160 254c931ce6e08bc22a41193464d8e04aa58211ea SHA1 d3278fbf78d3822660c1ad45b952b7f4caa2a516 SHA256 fa0233e9f96c8b6890f81b1db5b2644bec6e888279f4e0e89a623e385e1be947
+MD5 46cf148d8cb4a8992414cd332546df07 ChangeLog 357
+RMD160 254c931ce6e08bc22a41193464d8e04aa58211ea ChangeLog 357
+SHA256 fa0233e9f96c8b6890f81b1db5b2644bec6e888279f4e0e89a623e385e1be947 ChangeLog 357
+MISC metadata.xml 156 RMD160 176ce2ddfa15a21eb2b752633f3514cc3640749e SHA1 de9b70211ac77fb8e22706d4e968b04a634f65f2 SHA256 34f8bec858b5da24b0fc4d703932bf225d4ee545f13cc253e42d8bc84956dbec
+MD5 e8e274a5057d2f205a38206204250c79 metadata.xml 156
+RMD160 176ce2ddfa15a21eb2b752633f3514cc3640749e metadata.xml 156
+SHA256 34f8bec858b5da24b0fc4d703932bf225d4ee545f13cc253e42d8bc84956dbec metadata.xml 156
+MD5 129b59bcc16c420dd81a334152ccfdc4 files/digest-tash-8.4.1a 238
+RMD160 4ce1e5e03bedc5b9ec7f984ffe8723d78a6f42ec files/digest-tash-8.4.1a 238
+SHA256 1ceb73b9a99aa63a39227775826efa1b6962d1c3c3aebbca09e68c668cec7212 files/digest-tash-8.4.1a 238
diff --git a/dev-ada/tash/files/digest-tash-8.4.1a b/dev-ada/tash/files/digest-tash-8.4.1a
new file mode 100644 (file)
index 0000000..1008090
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 11a66bf0b2c17977522b7fc65fd1ce1d tash-8.4.1a.tar.bz2 895703
+RMD160 9e4b22ac89fb3934bd98d050a167c71437b41249 tash-8.4.1a.tar.bz2 895703
+SHA256 ae7dfebd61c6d465364beced3bdd825c15e0719a64074145512cf3923a2e784a tash-8.4.1a.tar.bz2 895703
diff --git a/dev-ada/tash/metadata.xml b/dev-ada/tash/metadata.xml
new file mode 100644 (file)
index 0000000..aec1502
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ada</herd>
+</pkgmetadata>
diff --git a/dev-ada/tash/tash-8.4.1a.ebuild b/dev-ada/tash/tash-8.4.1a.ebuild
new file mode 100644 (file)
index 0000000..df8c7b8
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/tash/tash-8.4.1a.ebuild,v 1.1 2007/02/13 14:35:09 george Exp $
+
+inherit versionator gnat
+
+DESCRIPTION="Tash provides tcl Ada bindings"
+HOMEPAGE="http://www.tupone.it"
+SRC_URI="http://www.tupone.it/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/gnat
+       =dev-lang/tcl-8.4*
+       =dev-lang/tk-8.4*"
+
+lib_compile() {
+       gcc -c -O2 -o obj/tclmacro.o  src/tclmacro.c && \
+       gcc -c -O2 -o obj/tkmacro.o  src/tkmacro.c && \
+       gnatmake -Pbuild_stat || die "building static lib failed"
+
+       gcc -c -O2 -fPIC -o obj_dyn/tclmacro.o  src/tclmacro.c && \
+       gcc -c -O2 -fPIC -o obj_dyn/tkmacro.o  src/tkmacro.c && \
+       gnatmake -Pbuild_dyn || die "building static lib failed"
+}
+
+lib_install() {
+       mv ${SL}/lib/*.{ali,a,so*} ${DL}
+       chmod a-w ${DL}/*.ali
+}
+
+src_install() {
+       dodir "${AdalibSpecsDir}/${PN}"
+       insinto "${AdalibSpecsDir}/${PN}"
+       doins src/*.ad?
+
+       #set up environment
+       echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
+       echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
+
+       gnat_src_install
+
+       dohtml -r index.html web/ docs/*.htm images/
+       insinto /usr/share/doc/${PF}/${DOCDESTTREE}
+       doins -r apps/ demos/ tests/ docs/*.pdf
+}