| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/calcoo/calcoo-1.3.18.ebuild,v 1.9 2012/05/21 20:00:22 ssuominen Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
AUTOTOOLS_AUTORECONF=yes
|
| 8 |
|
| 9 |
inherit eutils autotools-utils
|
| 10 |
|
| 11 |
DESCRIPTION="Scientific calculator designed to provide maximum usability"
|
| 12 |
HOMEPAGE="http://calcoo.sourceforge.net/"
|
| 13 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 14 |
|
| 15 |
LICENSE="GPL-2"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="amd64 ~ppc sparc x86 ~amd64-linux ~x86-linux"
|
| 18 |
IUSE=""
|
| 19 |
|
| 20 |
RDEPEND="x11-libs/gtk+:2"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
virtual/pkgconfig"
|
| 23 |
|
| 24 |
PATCHES=( "${FILESDIR}"/${P}-gold.patch )
|
| 25 |
|
| 26 |
src_configure() {
|
| 27 |
local myeconfargs=( --disable-gtktest )
|
| 28 |
autotools-utils_src_configure
|
| 29 |
}
|
| 30 |
|
| 31 |
src_install() {
|
| 32 |
autotools-utils_src_install
|
| 33 |
newicon src/pixmaps/main.xpm ${PN}.xpm
|
| 34 |
make_desktop_entry ${PN} Calcoo ${PN} "Education;Math"
|
| 35 |
}
|