summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-07-28 00:46:49 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-07-28 00:46:49 +0000
commit159f02bce0fdee3522a1023a50e1c727ad4d6a88 (patch)
tree0d898c38a60002480c047110863630e94337b760 /dev-tcltk
parentadd virtual/mailx (diff)
downloadgentoo-2-159f02bce0fdee3522a1023a50e1c727ad4d6a88.tar.gz
gentoo-2-159f02bce0fdee3522a1023a50e1c727ad4d6a88.tar.bz2
gentoo-2-159f02bce0fdee3522a1023a50e1c727ad4d6a88.zip
bug #57294.
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/otcl/ChangeLog7
-rw-r--r--dev-tcltk/otcl/Manifest4
-rw-r--r--dev-tcltk/otcl/files/digest-otcl-1.8-r21
-rw-r--r--dev-tcltk/otcl/otcl-1.8-r2.ebuild47
4 files changed, 57 insertions, 2 deletions
diff --git a/dev-tcltk/otcl/ChangeLog b/dev-tcltk/otcl/ChangeLog
index d1d56a9c3419..f121ee7e62a6 100644
--- a/dev-tcltk/otcl/ChangeLog
+++ b/dev-tcltk/otcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tcltk/otcl
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/ChangeLog,v 1.8 2004/06/25 02:07:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/ChangeLog,v 1.9 2004/07/28 00:46:49 robbat2 Exp $
+
+*otcl-1.8-r2 (27 Jul 2004)
+
+ 27 Jul 2004; Robin H. Johnson <robbat2@gentoo.org> otcl-1.8-r2.ebuild:
+ bug #57294.
25 Apr 2004; Aron Griffis <agriffis@gentoo.org> otcl-1.8-r1.ebuild:
Add die following econf for bug 48950
diff --git a/dev-tcltk/otcl/Manifest b/dev-tcltk/otcl/Manifest
index 9d785322158c..77e43eb6d4e2 100644
--- a/dev-tcltk/otcl/Manifest
+++ b/dev-tcltk/otcl/Manifest
@@ -1,5 +1,7 @@
-MD5 aab6cfa64f76bfcdbef634cf483504f2 ChangeLog 1023
+MD5 85902bdd83926663a4cc94627dd25e7b otcl-1.8-r2.ebuild 1205
+MD5 fc15818ff35c16f85315e735bdfd40ef ChangeLog 1139
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 0567958f6b5edf77723ca64165d4d2e3 otcl-1.8-r1.ebuild 1069
MD5 64a71b4bb60017c2d8802e771d31cedc files/digest-otcl-1.8-r1 60
+MD5 64a71b4bb60017c2d8802e771d31cedc files/digest-otcl-1.8-r2 60
MD5 090aa64d1486dc3d916b9b5176179d30 files/otcl-1.8-badfreefix.patch 7469
diff --git a/dev-tcltk/otcl/files/digest-otcl-1.8-r2 b/dev-tcltk/otcl/files/digest-otcl-1.8-r2
new file mode 100644
index 000000000000..f435025fe842
--- /dev/null
+++ b/dev-tcltk/otcl/files/digest-otcl-1.8-r2
@@ -0,0 +1 @@
+MD5 88a4b94b3a128867d3fe13b77f3b5496 otcl-1.8.tar.gz 300954
diff --git a/dev-tcltk/otcl/otcl-1.8-r2.ebuild b/dev-tcltk/otcl/otcl-1.8-r2.ebuild
new file mode 100644
index 000000000000..67049f8271bf
--- /dev/null
+++ b/dev-tcltk/otcl/otcl-1.8-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/otcl-1.8-r2.ebuild,v 1.1 2004/07/28 00:46:49 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="MIT Object extention to Tcl"
+SF_PN="otcl-tclcl"
+HOMEPAGE="http://sourceforge.net/projects/${SF_PN}/"
+SRC_URI="mirror://sourceforge/${SF_PN}/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+IUSE=""
+DEPEND=">=dev-lang/tcl-8.3.2
+ >=dev-lang/tk-8.3.2"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/otcl-1.8-badfreefix.patch
+}
+
+src_compile() {
+ local tclv tkv myconf
+ tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
+ tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')
+ myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}"
+ CFLAGS="${CFLAGS} -I/usr/lib/tcl${tkv}/include/generic"
+ econf ${myconf} || die "econf failed"
+ emake all || die "emake all failed"
+ emake libotcl.so || die "emake libotcl.so failed"
+}
+
+src_install() {
+ into /usr
+ dobin otclsh owish
+ dolib libotcl.so
+ dolib.a libotcl.a
+ insinto /usr/include
+ doins otcl.h
+
+ # docs
+ dodoc VERSION
+ dohtml README.html CHANGES.html
+ docinto doc
+ dodoc doc/*
+}