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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jan 8 16:29:51 2012 UTC (8 years, 10 months ago) by tomjbe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Cleanup old

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.ebuild,v 1.3 2010/05/17 18:35:17 phajdan.jr Exp $
4
5 EAPI="2"
6
7 inherit eutils 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://www.geda.seul.org/tools/gwave/"
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 # --as-needed fix
33 sed -i -e 's/_LDADD = /_LDADD = -lX11 /' remote/Makefile.in || die "sed failed"
34 }
35
36 src_install() {
37 emake DESTDIR="${D}" install || die "Installation failed"
38 dodoc AUTHORS NEWS README TODO || die "Installation of documentation failed"
39 newicon icons/wave-drag-ok.xpm gwave.xpm
40 make_desktop_entry gwave "Gwave" gwave "Electronics"
41 }
42
43 pkg_preinst() {
44 gnome2_icon_savelist
45 }
46
47 pkg_postinst() {
48 fdo-mime_desktop_database_update
49 fdo-mime_mime_database_update
50 gnome2_icon_cache_update
51 }
52
53 pkg_postrm() {
54 fdo-mime_desktop_database_update
55 fdo-mime_mime_database_update
56 gnome2_icon_cache_update
57 }

  ViewVC Help
Powered by ViewVC 1.1.20