/[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.6 - (hide annotations) (download)
Tue Jul 19 14:05:28 2005 UTC (9 years, 2 months ago) by dholm
Branch: MAIN
Changes since 1.5: +2 -2 lines
Added to ~ppc
(Portage version: 2.0.51.22-r1)

1 luckyduck 1.5 # Copyright 1999-2005 Gentoo Foundation
2 robbat2 1.1 # Distributed under the terms of the GNU General Public License v2
3 dholm 1.6 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-debug/tcl-debug-2.0.ebuild,v 1.5 2005/03/10 15:02:40 luckyduck Exp $
4 robbat2 1.1
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 dholm 1.6 KEYWORDS="~amd64 ~ppc ~sparc x86"
12 aliz 1.3 IUSE="doc"
13 robbat2 1.1 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