summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-05-14 19:32:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-05-14 19:32:21 +0000
commitd1d2b3ab99eaadb327d3b35eba41e16b8c65c0a7 (patch)
tree3e5a9ba16f35578a8f1f6e01d78daebf96fbc961 /sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild
parentStable on x86 wrt bug #178018 (diff)
downloadhistorical-d1d2b3ab99eaadb327d3b35eba41e16b8c65c0a7.tar.gz
historical-d1d2b3ab99eaadb327d3b35eba41e16b8c65c0a7.tar.bz2
historical-d1d2b3ab99eaadb327d3b35eba41e16b8c65c0a7.zip
Adjust .desktop file to get Icon on non-gnome desktops for bug 112614. Drop old version.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild')
-rw-r--r--sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild b/sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild
new file mode 100644
index 000000000000..62493d710810
--- /dev/null
+++ b/sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/galculator/galculator-1.2.5.2-r1.ebuild,v 1.1 2007/05/14 19:32:21 drac Exp $
+
+DESCRIPTION="GTK+ based algebraic and RPN calculator."
+HOMEPAGE="http://galculator.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="gnome"
+
+RDEPEND=">=x11-libs/gtk+-2.6
+ >=gnome-base/libglade-2
+ gnome? ( gnome-base/gnome-desktop )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ use gnome || sed -i -e 's:gnome-calc2.png:calc:' "${S}"/galculator.desktop.in
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}