From 5c65dd2ff9c1d00c0fb78cf23e5e85131b1023c1 Mon Sep 17 00:00:00 2001 From: George Shapovalov Date: Tue, 13 Feb 2007 14:35:09 +0000 Subject: [PATCH] first addition - a tcl/tk Ada binding Package-Manager: portage-2.1.2-r9 --- dev-ada/tash/ChangeLog | 10 ++++++ dev-ada/tash/Manifest | 16 +++++++++ dev-ada/tash/files/digest-tash-8.4.1a | 3 ++ dev-ada/tash/metadata.xml | 5 +++ dev-ada/tash/tash-8.4.1a.ebuild | 49 +++++++++++++++++++++++++++ 5 files changed, 83 insertions(+) create mode 100644 dev-ada/tash/ChangeLog create mode 100644 dev-ada/tash/Manifest create mode 100644 dev-ada/tash/files/digest-tash-8.4.1a create mode 100644 dev-ada/tash/metadata.xml create mode 100644 dev-ada/tash/tash-8.4.1a.ebuild diff --git a/dev-ada/tash/ChangeLog b/dev-ada/tash/ChangeLog new file mode 100644 index 000000000000..395e8422ebe3 --- /dev/null +++ b/dev-ada/tash/ChangeLog @@ -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 +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 index 000000000000..ce9f25cd2ad2 --- /dev/null +++ b/dev-ada/tash/Manifest @@ -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 index 000000000000..100809087cc5 --- /dev/null +++ b/dev-ada/tash/files/digest-tash-8.4.1a @@ -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 index 000000000000..aec150231c3f --- /dev/null +++ b/dev-ada/tash/metadata.xml @@ -0,0 +1,5 @@ + + + +ada + diff --git a/dev-ada/tash/tash-8.4.1a.ebuild b/dev-ada/tash/tash-8.4.1a.ebuild new file mode 100644 index 000000000000..df8c7b8c9da9 --- /dev/null +++ b/dev-ada/tash/tash-8.4.1a.ebuild @@ -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 +} -- 2.26.2