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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jan 25 08:30:31 2015 UTC (4 years, 11 months ago) by tomjbe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)

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.46.ebuild,v 1.1 2013/05/06 06:56:51 xmw Exp $
4
5 EAPI="4"
6
7 inherit 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 # do not install doc and examples by default
34 sed -i -e 's/doc examples//' Makefile.in || die
35 }
36
37 src_configure(){
38 econf --disable-local-libz \
39 --disable-local-libbz2 \
40 --disable-mime-update \
41 --enable-largefile \
42 $(use_enable packed struct-pack) \
43 $(use_enable fatlines) \
44 $(use_enable tcl) \
45 $(use_enable lzma xz) \
46 $(use_enable fasttree) \
47 $(use_enable judy)
48 }
49
50 src_compile() {
51 emake AR=$(tc-getAR)
52 }
53
54 src_install() {
55 emake DESTDIR="${D}" install
56 dodoc ANALOG_README.TXT ChangeLog README SYSTEMVERILOG_README.TXT
57 if use doc ; then
58 insinto /usr/share/doc/${PF}
59 doins "doc/${PN}.odt"
60 fi
61 if use examples ; then
62 insinto /usr/share/doc/${PF}
63 doins -r examples
64 fi
65 }
66
67 pkg_postinst() {
68 fdo-mime_desktop_database_update
69 fdo-mime_mime_database_update
70 }
71
72 pkg_postrm() {
73 fdo-mime_desktop_database_update
74 fdo-mime_mime_database_update
75 }

  ViewVC Help
Powered by ViewVC 1.1.20