Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 254784
Collapse All | Expand All

(-)/usr/portage/sci-electronics/gtkwave/gtkwave-3.1.9.ebuild (-5 / +7 lines)
Lines 2-12 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.1.9.ebuild,v 1.1 2008/04/23 08:34:09 calchan Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.1.9.ebuild,v 1.1 2008/04/23 08:34:09 calchan Exp $
4
4
5
DOC_VERSION="3.1.5"
6
DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
5
DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
7
HOMEPAGE="http://home.nc.rr.com/gtkwave/"
6
HOMEPAGE="http://gtkwave.sourceforge.net/"
8
SRC_URI="http://home.nc.rr.com/gtkwave/${P}.tar.gz
7
MY_PV=${PV/_rc/RC}
9
	doc? ( http://home.nc.rr.com/gtkwave/${PN}-doc-${DOC_VERSION}.tar.gz )"
8
9
SRC_URI="http://downloads.sourceforge.net/gtkwave/${PN}-${MY_PV}.tar.gz"
10
10
11
IUSE="doc examples"
11
IUSE="doc examples"
12
LICENSE="GPL-2 MIT"
12
LICENSE="GPL-2 MIT"
Lines 21-32 Link Here
21
	dev-util/pkgconfig
21
	dev-util/pkgconfig
22
	dev-util/gperf"
22
	dev-util/gperf"
23
23
24
S="${WORKDIR}/${PN}-${MY_PV}"
25
24
src_install() {
26
src_install() {
25
	emake DESTDIR="${D}" install || die "Installation failed"
27
	emake DESTDIR="${D}" install || die "Installation failed"
26
	dodoc ANALOG_README.TXT CHANGELOG.TXT
28
	dodoc ANALOG_README.TXT CHANGELOG.TXT
27
	if use doc ; then
29
	if use doc ; then
28
		insinto /usr/share/doc/${PF}
30
		insinto /usr/share/doc/${PF}
29
		doins "${WORKDIR}/${PN}.pdf" || die "Failed to install documentation."
31
		doins "doc/${PN}.odt" || die "Failed to install documentation."
30
	fi
32
	fi
31
	if use examples ; then
33
	if use examples ; then
32
		insinto /usr/share/doc/${PF}
34
		insinto /usr/share/doc/${PF}

Return to bug 254784