summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-01-11 03:52:40 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-01-11 03:52:40 +0000
commit189d2312af27faf889b567e6640c8c5bd9dcb8de (patch)
tree87097933437f0f6ff070c91671fd24cd1f429e64 /dev-tcltk/otcl
parentAdded ~sparc keyword and fix to the ebuild for non-x86 arches since upstream ... (diff)
downloadhistorical-189d2312af27faf889b567e6640c8c5bd9dcb8de.tar.gz
historical-189d2312af27faf889b567e6640c8c5bd9dcb8de.tar.bz2
historical-189d2312af27faf889b567e6640c8c5bd9dcb8de.zip
Initial commit, original ebuild by Christophe Radovcic <christophe.radovcic@laposte.net>, heavily updated by robbat2@gentoo.org
Diffstat (limited to 'dev-tcltk/otcl')
-rw-r--r--dev-tcltk/otcl/ChangeLog10
-rw-r--r--dev-tcltk/otcl/Manifest3
-rw-r--r--dev-tcltk/otcl/files/digest-otcl-1.81
-rw-r--r--dev-tcltk/otcl/otcl-1.8.ebuild39
4 files changed, 53 insertions, 0 deletions
diff --git a/dev-tcltk/otcl/ChangeLog b/dev-tcltk/otcl/ChangeLog
new file mode 100644
index 000000000000..8febb20c0df5
--- /dev/null
+++ b/dev-tcltk/otcl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tcltk/otcl
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/ChangeLog,v 1.1 2004/01/11 03:52:40 robbat2 Exp $
+
+*otcl-1.8 (10 Jan 2004)
+
+ 10 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> otcl-1.8.ebuild:
+ Initial commit, original ebuild by Christophe Radovcic
+ <christophe.radovcic@laposte.net>, heavily updated by robbat2@gentoo.org
+
diff --git a/dev-tcltk/otcl/Manifest b/dev-tcltk/otcl/Manifest
new file mode 100644
index 000000000000..b5575bcd10c5
--- /dev/null
+++ b/dev-tcltk/otcl/Manifest
@@ -0,0 +1,3 @@
+MD5 b99e14e885e92bb21706a5e76de0ee86 otcl-1.8.ebuild 990
+MD5 f1fea1dfeb0a2dc0d0cb0757514ad4bc ChangeLog 438
+MD5 64a71b4bb60017c2d8802e771d31cedc files/digest-otcl-1.8 60
diff --git a/dev-tcltk/otcl/files/digest-otcl-1.8 b/dev-tcltk/otcl/files/digest-otcl-1.8
new file mode 100644
index 000000000000..f435025fe842
--- /dev/null
+++ b/dev-tcltk/otcl/files/digest-otcl-1.8
@@ -0,0 +1 @@
+MD5 88a4b94b3a128867d3fe13b77f3b5496 otcl-1.8.tar.gz 300954
diff --git a/dev-tcltk/otcl/otcl-1.8.ebuild b/dev-tcltk/otcl/otcl-1.8.ebuild
new file mode 100644
index 000000000000..3cb4777205ba
--- /dev/null
+++ b/dev-tcltk/otcl/otcl-1.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/otcl-1.8.ebuild,v 1.1 2004/01/11 03:52:40 robbat2 Exp $
+
+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"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ #local myconf="--with-tcl=/usr/lib --enable-shared"
+ local myconf="--enable-shared"
+ econf ${myconf}
+ CFLAGS="${CFLAGS} -I`ls /usr/lib/tcl8.*/include/generic/tclInt.h | tail -n1 | xargs dirname`"
+ emake CFLAGS="${CFLAGS}" all || die
+ emake libotcl.so
+}
+
+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/*
+}