1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit base flag-o-matic eutils autotools 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
23 DEPEND="${COMMON_DEPEND}
26 RDEPEND="${COMMON_DEPEND}
27 sci-visualization/gnuplot"
29 S=${WORKDIR}/spyview-2009-11-04-12_40
31 PATCHES=( "${FILESDIR}"/${P}-datadir.patch )
36 append-cflags $(fltk-config --cflags)
37 append-cxxflags $(fltk-config --cxxflags) -I/usr/include/netpbm
39 # append-ldflags $(fltk-config --ldflags)
40 # this one leads to an insane amount of warnings
42 append-ldflags -L/usr/$(get_libdir)/fltk-1.1
48 econf --datadir=/usr/share/spyview