/[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.4 - (show annotations) (download)
Fri Jun 25 02:08:19 2004 UTC (10 years, 1 month ago) by agriffis
Branch: MAIN
Changes since 1.3: +2 -2 lines
update copyright line: Gentoo Technologies => Gentoo Foundation

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild,v 1.3 2004/04/14 11:32:38 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