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
commitc0c5633aca6a0abd5be4b3e2c148476c4b12f92a (patch)
treeede27d1eb062d8be9cdf94f97771939e6e96575d /dev-tcltk
parentAdded ~sparc keyword and fix to the ebuild for non-x86 arches since upstream ... (diff)
downloadgentoo-2-c0c5633aca6a0abd5be4b3e2c148476c4b12f92a.tar.gz
gentoo-2-c0c5633aca6a0abd5be4b3e2c148476c4b12f92a.tar.bz2
gentoo-2-c0c5633aca6a0abd5be4b3e2c148476c4b12f92a.zip
Initial commit, original ebuild by Christophe Radovcic <christophe.radovcic@laposte.net>, heavily updated by robbat2@gentoo.org
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/otcl/ChangeLog10
-rw-r--r--dev-tcltk/otcl/Manifest2
-rw-r--r--dev-tcltk/otcl/files/digest-otcl-1.81
-rw-r--r--dev-tcltk/otcl/otcl-1.8.ebuild39
4 files changed, 52 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..aefe7a5e06ea
--- /dev/null
+++ b/dev-tcltk/otcl/Manifest
@@ -0,0 +1,2 @@
+MD5 b2a2148c2a301cd3ef28215df98a340f otcl-1.8.ebuild 1065
+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/*
+}