1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools eutils
10 DESCRIPTION="A fast interactive 2D plotter"
11 HOMEPAGE="http://quickplot.sourceforge.net/ https://github.com/lanceman2/quickplot"
12 SRC_URI="https://github.com/lanceman2/${PN}/archive/${MY_P}.tar.gz"
16 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
21 >=sys-libs/readline-0.6.2:0=
28 S="${WORKDIR}/${PN}-${MY_P}"
32 -e '/libquickplot_la_LIBADD/s:$: -lm:g' \
33 -e 's/ $(htmldir)/ $(DESTDIR)$(htmldir)/g' \
42 $(use_enable static-libs static)
47 make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
48 mv "${ED%/}"/usr/share/applications/quickplot{*,}.desktop || die