/[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.1 - (show annotations) (download)
Sun Jan 11 04:39:59 2004 UTC (11 years, 6 months ago) by robbat2
Branch: MAIN
Initial commit, original ebuild by Christophe Radovcic <christophe.radovcic@laposte.net>, updated by robbat2@gentoo.org

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
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=""
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