/[gentoo-x86]/sci-electronics/gwave/gwave-20090213-r1.ebuild
Gentoo

Contents of /sci-electronics/gwave/gwave-20090213-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Jun 7 09:56:50 2015 UTC (5 years, 5 months ago) by tomjbe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
Drop 'nonfatal dodoc' (Bug #551188)

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

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/gwave/gwave-20090213-r1.ebuild,v 1.6 2013/10/17 18:26:26 tomjbe Exp $
4
5 EAPI="5"
6
7 inherit autotools eutils flag-o-matic fdo-mime gnome2-utils
8
9 MY_PN="gwave2"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
13 LICENSE="GPL-2"
14 HOMEPAGE="http://gwave.sourceforge.net"
15 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
16
17 KEYWORDS="amd64 ppc x86"
18 IUSE="gnuplot plotutils"
19 SLOT="0"
20
21 DEPEND="=dev-scheme/guile-1.8*[networking]
22 =dev-scheme/guile-gnome-platform-2.16*"
23
24 RDEPEND="${DEPEND}
25 sci-electronics/electronics-menu
26 gnuplot? ( sci-visualization/gnuplot )
27 plotutils? ( media-libs/plotutils )"
28
29 S="${WORKDIR}/${MY_P}"
30
31 src_prepare() {
32 append-libs -lX11
33 epatch "${FILESDIR}"/${P}-as-needed.patch
34 eautoreconf
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install
39 dodoc AUTHORS NEWS README TODO
40 newicon icons/wave-drag-ok.xpm gwave.xpm
41 make_desktop_entry gwave "Gwave" gwave "Electronics"
42 }
43
44 pkg_preinst() {
45 gnome2_icon_savelist
46 }
47
48 pkg_postinst() {
49 fdo-mime_desktop_database_update
50 fdo-mime_mime_database_update
51 gnome2_icon_cache_update
52 }
53
54 pkg_postrm() {
55 fdo-mime_desktop_database_update
56 fdo-mime_mime_database_update
57 gnome2_icon_cache_update
58 }

  ViewVC Help
Powered by ViewVC 1.1.20