1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit base flag-o-matic eutils multilib
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"
15 KEYWORDS="~amd64 ~x86"
18 COMMON_DEPEND=">=dev-libs/boost-1.35
20 >=x11-libs/fltk-1.1.9:1.1
21 app-text/ghostscript-gpl"
23 DEPEND="${COMMON_DEPEND}
26 RDEPEND="${COMMON_DEPEND}
27 sci-visualization/gnuplot"
29 S=${WORKDIR}/spyview-2010-01-09-17_39
32 epatch "${FILESDIR}"/${P}-includes.patch
34 append-cflags $(fltk-config --cflags)
35 append-cxxflags $(fltk-config --cxxflags) -I/usr/include/netpbm
37 # append-ldflags $(fltk-config --ldflags)
38 # this one leads to an insane amount of warnings
40 append-ldflags -L/usr/$(get_libdir)/fltk-1.1
44 econf --datadir=/usr/share/spyview