1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs
7 DESCRIPTION="A reverse polish notation (RPN) calculator based on GTK+ and libmath"
8 HOMEPAGE="http://www.getreu.net/"
9 SRC_URI="http://www.getreu.net/public/downloads/software/${PN}/${P}/${PN}_${PV}-1.tar.gz"
13 KEYWORDS="~amd64 ~x86"
16 RDEPEND="x11-libs/gtk+:2
25 sed -i -e 's:= -g -O2 -I/usr/X11/include:+=:' Makefile || die
29 emake CC="$(tc-getCC)" DFLAGS="${LDFLAGS}"
36 newicon icon.png ${PN}.png
37 make_desktop_entry ${PN} "RPN calculator"