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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed May 15 07:51:30 2013 UTC (6 years, 8 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Drop old versions

(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 # Copyright 1999-2013 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.42.ebuild,v 1.4 2013/05/06 06:56:51 xmw Exp $
4
5 EAPI="4"
6
7 inherit autotools eutils fdo-mime toolchain-funcs
8
9 DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
10 HOMEPAGE="http://gtkwave.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 IUSE="doc examples fasttree fatlines judy lzma packed tcl"
14 LICENSE="GPL-2 MIT"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
17
18 RDEPEND="dev-libs/glib:2
19 x11-libs/gtk+:2
20 x11-libs/pango
21 sys-libs/zlib
22 judy? ( dev-libs/judy )
23 tcl? ( dev-lang/tcl dev-lang/tk )
24 lzma? ( app-arch/xz-utils )"
25
26 DEPEND="${RDEPEND}
27 virtual/pkgconfig
28 dev-util/gperf"
29
30 AT_M4DIR="${S}"
31
32 src_prepare(){
33 # fix parallel make
34 epatch "${FILESDIR}"/${PN}-parallel-make.diff
35
36 eautoreconf
37
38 # do not install doc and examples by default
39 sed -i -e 's/doc examples//' Makefile.in || die
40 }
41
42 src_configure(){
43 econf --disable-local-libz \
44 --disable-local-libbz2 \
45 --disable-mime-update \
46 --enable-largefile \
47 $(use_enable packed struct-pack) \
48 $(use_enable fatlines) \
49 $(use_enable tcl) \
50 $(use_enable lzma xz) \
51 $(use_enable fasttree) \
52 $(use_enable judy)
53 }
54
55 src_compile() {
56 emake AR=$(tc-getAR)
57 }
58
59 src_install() {
60 emake DESTDIR="${D}" install
61 dodoc ANALOG_README.TXT SYSTEMVERILOG_README.TXT CHANGELOG.TXT
62 if use doc ; then
63 insinto /usr/share/doc/${PF}
64 doins "doc/${PN}.odt"
65 fi
66 if use examples ; then
67 insinto /usr/share/doc/${PF}
68 doins -r examples
69 fi
70 }
71
72 pkg_postinst() {
73 fdo-mime_desktop_database_update
74 fdo-mime_mime_database_update
75 }
76
77 pkg_postrm() {
78 fdo-mime_desktop_database_update
79 fdo-mime_mime_database_update
80 }

  ViewVC Help
Powered by ViewVC 1.1.20