diff options
author | Andreas K. Huettel <andreas.huettel@ur.de> | 2016-12-12 20:52:56 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-12-12 23:46:06 +0100 |
commit | 6a08b53653269db25bf447f1614dd4c1d56a1eb4 (patch) | |
tree | 8a3d763bba062dfbf7cd448546ad942e99eeb7e0 /sci-visualization/spyview/spyview-20150124.ebuild | |
parent | app-mobilephone/gnokii: Update live ebuild (diff) | |
download | gentoo-6a08b53653269db25bf447f1614dd4c1d56a1eb4.tar.gz gentoo-6a08b53653269db25bf447f1614dd4c1d56a1eb4.tar.bz2 gentoo-6a08b53653269db25bf447f1614dd4c1d56a1eb4.zip |
sci-visualization/spyview: Version bump without keywords (doesnt build yet)
Diffstat (limited to 'sci-visualization/spyview/spyview-20150124.ebuild')
-rw-r--r-- | sci-visualization/spyview/spyview-20150124.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sci-visualization/spyview/spyview-20150124.ebuild b/sci-visualization/spyview/spyview-20150124.ebuild new file mode 100644 index 000000000000..fd110c3518eb --- /dev/null +++ b/sci-visualization/spyview/spyview-20150124.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools flag-o-matic eutils multilib + +DESCRIPTION="2D and 3D data visualization and analysis program" +HOMEPAGE="http://nsweb.tn.tudelft.nl/~gsteele/spyview/" +SRC_URI="https://github.com/gsteele13/spyview/archive/966012afae2fbb77262bd96a7e530e81b0ed3b90.tar.gz -> $P.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" # no keywords since it doesnt build yet... +IUSE="" + +COMMON_DEPEND=" + dev-libs/boost:= + media-libs/netpbm + x11-libs/fltk:1[opengl] + app-text/ghostscript-gpl + virtual/glu +" + +DEPEND="${COMMON_DEPEND} + sys-apps/groff" + +RDEPEND="${COMMON_DEPEND} + sci-visualization/gnuplot" + +src_unpack() { + default + mv -v "${WORKDIR}"/spyview-*/source "${S}" || die +} + +src_prepare() { + append-cflags $(fltk-config --cflags) + append-cxxflags $(fltk-config --cxxflags) -I/usr/include/netpbm + + # append-ldflags $(fltk-config --ldflags) + # this one leads to an insane amount of warnings + append-ldflags -L$(dirname $(fltk-config --libs)) + + find "${S}" -name Makefile.am -exec sed -i -e 's:-mwindows -mconsole::g' {} + || die + + default + eautoreconf +} + +src_configure() { + econf --datadir=/usr/share/spyview --docdir=/usr/share/doc/${PF} +} |