--- /dev/null
+# 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
+
--- /dev/null
+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
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ada</herd>
+</pkgmetadata>
--- /dev/null
+# 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
+}