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

(-)/home/rafael/gwave2-20090213.ebuild (-7 / +25 lines)
Lines 1-29 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
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/gwave/gwave-20080127.ebuild,v 1.2 2008/04/30 18:10:45 calchan Exp $
3
# $Header: $
4
5
inherit flag-o-matic
6
4
7
EAPI="2"
5
EAPI="2"
6
7
inherit eutils fdo-mime gnome2-utils
8
8
DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
9
DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
9
LICENSE="GPL-2"
10
LICENSE="GPL-2"
10
HOMEPAGE="http://www.geda.seul.org/tools/gwave/"
11
HOMEPAGE="http://www.geda.seul.org/tools/gwave/"
11
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
SRC_URI="mirror://sourceforge/gwave/${PN}/${P}.tar.gz"
12
13
13
14
KEYWORDS="~amd64 ~ppc ~x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
15
IUSE="gnuplot plotutils"
15
IUSE="gnuplot plotutils"
16
SLOT="0"
16
SLOT="0"
17
17
18
DEPEND="( =dev-scheme/guile-1.8* )
18
DEPEND="=dev-scheme/guile-1.8*[networking]
19
	=dev-scheme/guile-gnome-platform-2.16*"
19
	=dev-scheme/guile-gnome-platform-2.16*"
20
20
21
RDEPEND="${DEPEND}
21
RDEPEND="${DEPEND}
22
	( =dev-scheme/guile-1.8*[networking] )
22
	sci-electronics/electronics-menu
23
	gnuplot? ( sci-visualization/gnuplot )
23
	gnuplot? ( sci-visualization/gnuplot )
24
	plotutils? ( media-libs/plotutils )"
24
	plotutils? ( media-libs/plotutils )"
25
25
26
src_install() {
26
src_install() {
27
	emake DESTDIR="${D}" install || die "Installation failed"
27
	emake DESTDIR="${D}" install || die "Installation failed"
28
	dodoc AUTHORS NEWS README TODO || die "Installation of documentation failed"
28
	dodoc AUTHORS NEWS README TODO || die "Installation of documentation failed"
29
	newicon icons/wave-drag-ok.xpm gwave.xpm
30
	make_desktop_entry gwave "Gwave" gwave.xpm "Science;Electronics"
31
}
32
33
pkg_preinst() {
34
	gnome2_icon_savelist
35
}
36
37
pkg_postinst() {
38
	fdo-mime_desktop_database_update
39
	fdo-mime_mime_database_update
40
	gnome2_icon_cache_update
41
}
42
43
pkg_postrm() {
44
	fdo-mime_desktop_database_update
45
	fdo-mime_mime_database_update
46
	gnome2_icon_cache_update
29
}
47
}

Return to bug 293397