summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-24 15:12:51 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-24 15:12:51 +0000
commitddfb016b3b5ac2597c0300dacaaec0cc328821ca (patch)
treebd111fef2b7718c024de573f5f9f0b7dbbc0d96a /sci-calculators
parentMoving to sci-calculators/wcalc (diff)
downloadgentoo-2-ddfb016b3b5ac2597c0300dacaaec0cc328821ca.tar.gz
gentoo-2-ddfb016b3b5ac2597c0300dacaaec0cc328821ca.tar.bz2
gentoo-2-ddfb016b3b5ac2597c0300dacaaec0cc328821ca.zip
Moved from app-sci/wcalc to sci-calculators/wcalc.
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/wcalc/ChangeLog23
-rw-r--r--sci-calculators/wcalc/Manifest4
-rw-r--r--sci-calculators/wcalc/files/digest-wcalc-1.71
-rw-r--r--sci-calculators/wcalc/metadata.xml14
-rw-r--r--sci-calculators/wcalc/wcalc-1.7.ebuild35
5 files changed, 77 insertions, 0 deletions
diff --git a/sci-calculators/wcalc/ChangeLog b/sci-calculators/wcalc/ChangeLog
new file mode 100644
index 000000000000..7262d7cd74e2
--- /dev/null
+++ b/sci-calculators/wcalc/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-sci/wcalc
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/ChangeLog,v 1.1 2004/12/24 15:12:51 ribosome Exp $
+
+*wcalc-1.7 (24 Dec 2004)
+
+ 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +wcalc-1.7.ebuild:
+ Moved from app-sci/wcalc to sci-calculators/wcalc.
+
+ 06 Dec 2004; Hasan Khalil <gongloo@gentoo.org> wcalc-1.7.ebuild:
+ Added ~ppc-macos
+
+ 21 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> wcalc-1.7.ebuild:
+ Added to ~amd64, bug #71857
+
+*wcalc-1.7 (17 May 2004)
+
+ 17 May 2004; Patrick Kursawe <phosphan@gentoo.org> metadata.xml,
+ wcalc-1.7.ebuild:
+ Initial ebuild by the <the@weird-birds.org> and olivier.fisette@sympatico.ca,
+ bug #27043
+
diff --git a/sci-calculators/wcalc/Manifest b/sci-calculators/wcalc/Manifest
new file mode 100644
index 000000000000..2bbecd7b1941
--- /dev/null
+++ b/sci-calculators/wcalc/Manifest
@@ -0,0 +1,4 @@
+MD5 9db8dd705d24abb9b3d6d3d16188c53d ChangeLog 597
+MD5 ab159e23c00e4e2469bb8bd8db426595 metadata.xml 629
+MD5 5b3c53b39673fa3f0fcd00cdce29d1c0 wcalc-1.7.ebuild 983
+MD5 777e13ca09a30ca92f25fa804c24eee9 files/digest-wcalc-1.7 62
diff --git a/sci-calculators/wcalc/files/digest-wcalc-1.7 b/sci-calculators/wcalc/files/digest-wcalc-1.7
new file mode 100644
index 000000000000..e3ab72953e41
--- /dev/null
+++ b/sci-calculators/wcalc/files/digest-wcalc-1.7
@@ -0,0 +1 @@
+MD5 dce2bbedd33224d95f9ac6f8c59281e1 Wcalc-1.7.tar.bz2 225925
diff --git a/sci-calculators/wcalc/metadata.xml b/sci-calculators/wcalc/metadata.xml
new file mode 100644
index 000000000000..cc986379d48e
--- /dev/null
+++ b/sci-calculators/wcalc/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription>
+ Wcalc is a very capable calculator. It has standard functions (sin,
+ asin, and sinh for example, in either radians or degrees), many
+ pre-defined constants (pi, e, c, etc.), support for using variables,
+ "active" variables, a command history, hex/octal/binary input and
+ output, unit conversions, embedded comments, and an expandable
+ expression entry field. It evaluates expressions using the standard
+ order of operations.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-calculators/wcalc/wcalc-1.7.ebuild b/sci-calculators/wcalc/wcalc-1.7.ebuild
new file mode 100644
index 000000000000..5c1d93b8c1a8
--- /dev/null
+++ b/sci-calculators/wcalc/wcalc-1.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/wcalc-1.7.ebuild,v 1.1 2004/12/24 15:12:51 ribosome Exp $
+
+DESCRIPTION="A flexible command-line scientific calculator"
+HOMEPAGE="http://w-calc.sourceforge.net"
+SRC_URI="mirror://sourceforge//w-calc/Wcalc-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc-macos"
+# The argument "--without-readline" is accepted by the configure script but
+# breaks the build, so the readline USE flag cannot be used.
+IUSE=""
+
+DEPEND=">=sys-libs/readline-4.3-r4"
+
+S=${WORKDIR}/Wcalc-${PV}
+
+src_compile() {
+ econf || die "Configuration failed."
+ emake || die "Compilation failed."
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog COPYING COPYRIGHT NEWS
+ insinto /usr/share/doc/${PF}
+ doins ReadMe.rtf
+
+ # Wcalc icons
+ insinto /usr/share/pixmaps
+ newins w.png wcalc.png
+ newins Wred.png wcalc-red.png
+}