summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-03-14 13:21:44 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-03-14 13:21:44 +0000
commit414a2b244143e9423bc966df8c8bd9c707885f44 (patch)
treefee717a8ae0c105ea82fee332d310bfa1e80ec10 /sci-calculators/wcalc/wcalc-2.3.1.ebuild
parentRemoving Marien Zwart (marienz, #107204) from metadata.xml. (diff)
downloadgentoo-2-414a2b244143e9423bc966df8c8bd9c707885f44.tar.gz
gentoo-2-414a2b244143e9423bc966df8c8bd9c707885f44.tar.bz2
gentoo-2-414a2b244143e9423bc966df8c8bd9c707885f44.zip
Version bump (fixes bug #191893 for good).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-calculators/wcalc/wcalc-2.3.1.ebuild')
-rw-r--r--sci-calculators/wcalc/wcalc-2.3.1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-calculators/wcalc/wcalc-2.3.1.ebuild b/sci-calculators/wcalc/wcalc-2.3.1.ebuild
new file mode 100644
index 000000000000..d1bb6ecf14a1
--- /dev/null
+++ b/sci-calculators/wcalc/wcalc-2.3.1.ebuild
@@ -0,0 +1,35 @@
+# 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.3.1.ebuild,v 1.1 2008/03/14 13:21:44 markusle Exp $
+
+inherit eutils
+
+MYP="Wcalc-${PV}"
+DESCRIPTION="A flexible command-line scientific calculator"
+HOMEPAGE="http://w-calc.sourceforge.net"
+SRC_URI="mirror://sourceforge/w-calc/${MYP}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="readline"
+
+DEPEND="readline? ( sys-libs/readline )
+ dev-libs/mpfr
+ dev-libs/gmp"
+
+S="${WORKDIR}"/${MYP}
+
+src_compile() {
+ econf $(use_with readline) || die "econf failed."
+ 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
+}