diff options
Diffstat (limited to 'dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild')
-rw-r--r-- | dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild b/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild new file mode 100644 index 000000000000..6d35f9af4399 --- /dev/null +++ b/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild,v 1.1 2004/01/11 04:39:59 robbat2 Exp $ + +DESCRIPTION="TCL debug library" +HOMEPAGE="http://expect.nist.gov" +SRC_URI="http://expect.nist.gov/tcl-debug/${PN}.tar.gz + doc? ( http://expect.nist.gov/tcl-debug/tcl-debug.ps.Z )" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~sparc" +IUSE="" +DEPEND=">=dev-lang/tcl-8.3.0 + >=dev-lang/tk-8.3.0" + +src_compile() { + econf \ + --enable-shared \ + --with-tcl=/usr/lib \ + --with-tclinclude="`ls /usr/lib/tcl8.*/include/generic/tclInt.h | tail -n1 | xargs dirname`" || die "./configure failed" + emake || die +} + +src_install() { + dolib.so libtcldbg2.0.so + dolib.a libtcldbg.a + dodir /usr/lib/tcldbg${PV} + dosym /usr/lib/libtcldbg2.0.so /usr/lib/tcldbg${PV}/ + dosym /usr/lib/libtcldbg.a /usr/lib/tcldbg${PV}/ + + insinto /usr/lib/tcldbg${PV} + newins pkgIndex pkgIndex.tcl + + dodir /usr/include + insinto /usr/include + doins tcldbg.h + + dodoc HISTORY README CHANGES INSTALL + newman tcldbg.man tcldbg.1 +} |