summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-09-12 07:59:08 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-09-12 07:59:08 +0000
commit38f959bc09cf6a9735ccfaaa8ea91d22d733ba96 (patch)
tree92d31851323d2a03132eb0e0ec9007d048c1f7e3 /sci-calculators/galculator
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-38f959bc09cf6a9735ccfaaa8ea91d22d733ba96.tar.gz
gentoo-2-38f959bc09cf6a9735ccfaaa8ea91d22d733ba96.tar.bz2
gentoo-2-38f959bc09cf6a9735ccfaaa8ea91d22d733ba96.zip
Version bump per bug #268462, switch to eapi-2 in order to replace src_unpack() by src_prepare(), clean-up the testsuite fix, add a || die to dodoc
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sci-calculators/galculator')
-rw-r--r--sci-calculators/galculator/ChangeLog12
-rw-r--r--sci-calculators/galculator/galculator-1.3.4.ebuild31
2 files changed, 41 insertions, 2 deletions
diff --git a/sci-calculators/galculator/ChangeLog b/sci-calculators/galculator/ChangeLog
index 453f30789e03..97b40da6bf6e 100644
--- a/sci-calculators/galculator/ChangeLog
+++ b/sci-calculators/galculator/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-calculators/galculator
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/galculator/ChangeLog,v 1.22 2007/11/17 13:22:46 nixnut Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/galculator/ChangeLog,v 1.23 2009/09/12 07:59:08 mrpouet Exp $
+
+*galculator-1.3.4 (12 Sep 2009)
+
+ 12 Sep 2009; Romain Perier <mrpouet@gentoo.org>
+ +galculator-1.3.4.ebuild:
+ Version bump per bug #268462, switch to eapi-2 in order to replace
+ src_unpack() by src_prepare(), clean-up the testsuite fix, add a || die to
+ dodoc.
17 Nov 2007; nixnut <nixnut@gentoo.org> galculator-1.3.1.ebuild:
Stable on ppc wrt bug 198845
diff --git a/sci-calculators/galculator/galculator-1.3.4.ebuild b/sci-calculators/galculator/galculator-1.3.4.ebuild
new file mode 100644
index 000000000000..024b69d5351e
--- /dev/null
+++ b/sci-calculators/galculator/galculator-1.3.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/galculator/galculator-1.3.4.ebuild,v 1.1 2009/09/12 07:59:08 mrpouet Exp $
+
+EAPI="2"
+
+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_prepare() {
+ use gnome || sed -i -e 's:gnome-calc2.png:calc:' "${S}"/galculator.desktop.in
+ # Fix tests
+ echo ui/*.glade | tr -t ' ' '\n' >> po/POTFILES.in
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
+}