summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-05-17 12:01:29 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-05-17 12:01:29 +0000
commit220c0025b28281715f493f7f91fdf7f3f0a60056 (patch)
tree78b6707b798c7b8b7a5fa8543e72ef9f8c2aaaaa /app-sci/wcalc
parentinitial import (#50998) (diff)
downloadhistorical-220c0025b28281715f493f7f91fdf7f3f0a60056.tar.gz
historical-220c0025b28281715f493f7f91fdf7f3f0a60056.tar.bz2
historical-220c0025b28281715f493f7f91fdf7f3f0a60056.zip
See bug 27043
Diffstat (limited to 'app-sci/wcalc')
-rw-r--r--app-sci/wcalc/ChangeLog11
-rw-r--r--app-sci/wcalc/Manifest4
-rw-r--r--app-sci/wcalc/files/digest-wcalc-1.71
-rw-r--r--app-sci/wcalc/metadata.xml14
-rw-r--r--app-sci/wcalc/wcalc-1.7.ebuild35
5 files changed, 65 insertions, 0 deletions
diff --git a/app-sci/wcalc/ChangeLog b/app-sci/wcalc/ChangeLog
new file mode 100644
index 000000000000..19671bd7c5a2
--- /dev/null
+++ b/app-sci/wcalc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-sci/wcalc
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/wcalc/ChangeLog,v 1.1 2004/05/17 12:01:29 phosphan Exp $
+
+*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/app-sci/wcalc/Manifest b/app-sci/wcalc/Manifest
new file mode 100644
index 000000000000..1d165d4e6b90
--- /dev/null
+++ b/app-sci/wcalc/Manifest
@@ -0,0 +1,4 @@
+MD5 2247dc5e345ac021122a342c5f83b6c1 wcalc-1.7.ebuild 975
+MD5 1a3cfec81e5788819032121ffd27111a ChangeLog 417
+MD5 ab159e23c00e4e2469bb8bd8db426595 metadata.xml 629
+MD5 777e13ca09a30ca92f25fa804c24eee9 files/digest-wcalc-1.7 62
diff --git a/app-sci/wcalc/files/digest-wcalc-1.7 b/app-sci/wcalc/files/digest-wcalc-1.7
new file mode 100644
index 000000000000..e3ab72953e41
--- /dev/null
+++ b/app-sci/wcalc/files/digest-wcalc-1.7
@@ -0,0 +1 @@
+MD5 dce2bbedd33224d95f9ac6f8c59281e1 Wcalc-1.7.tar.bz2 225925
diff --git a/app-sci/wcalc/metadata.xml b/app-sci/wcalc/metadata.xml
new file mode 100644
index 000000000000..cc986379d48e
--- /dev/null
+++ b/app-sci/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/app-sci/wcalc/wcalc-1.7.ebuild b/app-sci/wcalc/wcalc-1.7.ebuild
new file mode 100644
index 000000000000..9ce2b27f069f
--- /dev/null
+++ b/app-sci/wcalc/wcalc-1.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/wcalc/wcalc-1.7.ebuild,v 1.1 2004/05/17 12:01:29 phosphan 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"
+# 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
+}