/[gentoo-x86]/sci-visualization/spyview/spyview-20110803.ebuild
Gentoo

Contents of /sci-visualization/spyview/spyview-20110803.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jan 4 17:51:41 2012 UTC (3 years, 3 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +3 -3 lines
x86 stable wrt bug #394799

(Portage version: 2.1.10.41/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/spyview/spyview-20110803.ebuild,v 1.2 2011/12/15 12:28:20 ago Exp $
4
5 EAPI=4
6
7 inherit base flag-o-matic eutils multilib
8
9 DESCRIPTION="Interactive plotting program"
10 HOMEPAGE="http://kavli.nano.tudelft.nl/~gsteele/spyview/"
11 SRC_URI="http://kavli.nano.tudelft.nl/~gsteele/${PN}/versions/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 COMMON_DEPEND="
19 >=dev-libs/boost-1.42
20 media-libs/netpbm
21 media-libs/libpng:1.2
22 x11-libs/fltk:1
23 app-text/ghostscript-gpl
24 virtual/glu
25 "
26
27 DEPEND="${COMMON_DEPEND}
28 sys-apps/groff"
29
30 RDEPEND="${COMMON_DEPEND}
31 sci-visualization/gnuplot"
32
33 S=${WORKDIR}/spyview-2011-08-03-15_33
34
35 src_prepare() {
36 append-cflags $(fltk-config --cflags)
37 append-cxxflags $(fltk-config --cxxflags) -I/usr/include/netpbm
38
39 # append-ldflags $(fltk-config --ldflags)
40 # this one leads to an insane amount of warnings
41
42 append-ldflags -L$(dirname $(fltk-config --libs))
43
44 base_src_prepare
45 }
46
47 src_configure() {
48 econf --datadir=/usr/share/spyview --docdir=/usr/share/doc/${PF}
49 }

  ViewVC Help
Powered by ViewVC 1.1.20