summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-10 23:51:36 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-10 23:51:36 +0000
commit728dcb21d93fd6f91dfdc80252efefc5706f2628 (patch)
treebd5e0c784f3f016c46f2d5522db9d656c9bf92a6 /sci-calculators/wcalc/wcalc-2.4.ebuild
parentinitial commit, bug #241284 (diff)
downloadgentoo-2-728dcb21d93fd6f91dfdc80252efefc5706f2628.tar.gz
gentoo-2-728dcb21d93fd6f91dfdc80252efefc5706f2628.tar.bz2
gentoo-2-728dcb21d93fd6f91dfdc80252efefc5706f2628.zip
Version bump
(Portage version: 2.2_rc13/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-calculators/wcalc/wcalc-2.4.ebuild')
-rw-r--r--sci-calculators/wcalc/wcalc-2.4.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-calculators/wcalc/wcalc-2.4.ebuild b/sci-calculators/wcalc/wcalc-2.4.ebuild
new file mode 100644
index 000000000000..6ae2227b40f5
--- /dev/null
+++ b/sci-calculators/wcalc/wcalc-2.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/wcalc-2.4.ebuild,v 1.1 2008/11/10 23:51:36 bicatali Exp $
+
+inherit eutils
+
+DESCRIPTION="A flexible command-line scientific calculator"
+HOMEPAGE="http://w-calc.sourceforge.net"
+SRC_URI="mirror://sourceforge/w-calc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="readline"
+
+DEPEND="readline? ( sys-libs/readline )
+ dev-libs/mpfr
+ dev-libs/gmp"
+
+src_compile() {
+ econf $(use_with readline)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README || die
+
+ # Wcalc icons
+ newicon w.png wcalc.png || die
+ newicon Wred.png wcalc-red.png || die
+}