diff options
Diffstat (limited to 'dev-tcltk/otcl/otcl-1.8-r3.ebuild')
-rw-r--r-- | dev-tcltk/otcl/otcl-1.8-r3.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-tcltk/otcl/otcl-1.8-r3.ebuild b/dev-tcltk/otcl/otcl-1.8-r3.ebuild deleted file mode 100644 index 52b44cc13d2c..000000000000 --- a/dev-tcltk/otcl/otcl-1.8-r3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/otcl-1.8-r3.ebuild,v 1.5 2005/04/24 12:30:27 matsuu Exp $ - -inherit eutils - -DESCRIPTION="MIT Object extension 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 ~ppc amd64" -IUSE="" -DEPEND=">=dev-lang/tcl-8.3.2 - >=dev-lang/tk-8.3.2" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/otcl-1.8-badfreefix.patch - libtoolize -f -} - -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" - - sed -i \ - -e "s/) otkAppInit.c/) otkAppInit.c otcl.c/" \ - -e "s/) otclAppInit.c/) otclAppInit.c otcl.c/" \ - -e "" "${S}/Makefile.in" \ - || die "sed Makefile failed" - - 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/* -} |