/[gentoo-x86]/sci-electronics/gtkwave/gtkwave-3.3.20.ebuild
Gentoo

Contents of /sci-electronics/gtkwave/gtkwave-3.3.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jan 9 06:18:36 2012 UTC (8 years ago) by tomjbe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.3.20.ebuild,v 1.1 2011/04/03 11:12:46 tomjbe Exp $
4
5 EAPI="2"
6
7 DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
8 HOMEPAGE="http://gtkwave.sourceforge.net/"
9
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 IUSE="doc examples fasttree fatlines judy lzma tcl"
13 LICENSE="GPL-2 MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
16
17 RDEPEND="dev-libs/glib:2
18 x11-libs/gtk+:2
19 x11-libs/pango
20 judy? ( dev-libs/judy )
21 tcl? ( dev-lang/tcl dev-lang/tk )
22 lzma? ( app-arch/xz-utils )"
23
24 DEPEND="${RDEPEND}
25 dev-util/pkgconfig
26 dev-util/gperf"
27
28 src_prepare(){
29 sed -i -e 's/doc examples//' Makefile.in || die "sed failed"
30 }
31
32 src_configure(){
33 econf --disable-local-libz \
34 --disable-local-libbz2 \
35 --disable-dependency-tracking \
36 --enable-largefile \
37 $(use_enable fatlines) \
38 $(use_enable tcl) \
39 $(use_enable lzma xz) \
40 $(use_enable fasttree) \
41 $(use_enable judy)
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die "Installation failed"
46 dodoc ANALOG_README.TXT SYSTEMVERILOG_README.TXT CHANGELOG.TXT
47 if use doc ; then
48 insinto /usr/share/doc/${PF}
49 doins "doc/${PN}.odt" || die "Failed to install documentation."
50 fi
51 if use examples ; then
52 insinto /usr/share/doc/${PF}
53 doins -r examples || die "Failed to install examples."
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20