/[gentoo-x86]/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild
Gentoo

Contents of /dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Apr 14 11:32:38 2004 UTC (10 years, 8 months ago) by aliz
Branch: MAIN
Changes since 1.2: +2 -2 lines
Numerous small fixes, see ChangeLogs for details.

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild,v 1.2 2004/02/28 21:19:00 aliz Exp $
4
5 DESCRIPTION="TCL debug library"
6 HOMEPAGE="http://expect.nist.gov"
7 SRC_URI="http://expect.nist.gov/tcl-debug/${PN}.tar.gz
8 doc? ( http://expect.nist.gov/tcl-debug/tcl-debug.ps.Z )"
9 LICENSE="BSD"
10 SLOT="0"
11 KEYWORDS="x86 ~sparc"
12 IUSE="doc"
13 DEPEND=">=dev-lang/tcl-8.3.0
14 >=dev-lang/tk-8.3.0"
15
16 src_compile() {
17 econf \
18 --enable-shared \
19 --with-tcl=/usr/lib \
20 --with-tclinclude="`ls /usr/lib/tcl8.*/include/generic/tclInt.h | tail -n1 | xargs dirname`" || die "./configure failed"
21 emake || die
22 }
23
24 src_install() {
25 dolib.so libtcldbg2.0.so
26 dolib.a libtcldbg.a
27 dodir /usr/lib/tcldbg${PV}
28 dosym /usr/lib/libtcldbg2.0.so /usr/lib/tcldbg${PV}/
29 dosym /usr/lib/libtcldbg.a /usr/lib/tcldbg${PV}/
30
31 insinto /usr/lib/tcldbg${PV}
32 newins pkgIndex pkgIndex.tcl
33
34 dodir /usr/include
35 insinto /usr/include
36 doins tcldbg.h
37
38 dodoc HISTORY README CHANGES INSTALL
39 newman tcldbg.man tcldbg.1
40 }

  ViewVC Help
Powered by ViewVC 1.1.20