diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-05-17 12:01:29 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-05-17 12:01:29 +0000 |
commit | f97b73ee357c113457b589a60d088f333cbfe355 (patch) | |
tree | a44e87f4299631ca915633806a1434badbac47f9 /app-sci/wcalc | |
parent | initial import (#50998) (Manifest recommit) (diff) | |
download | gentoo-2-f97b73ee357c113457b589a60d088f333cbfe355.tar.gz gentoo-2-f97b73ee357c113457b589a60d088f333cbfe355.tar.bz2 gentoo-2-f97b73ee357c113457b589a60d088f333cbfe355.zip |
See bug 27043
Diffstat (limited to 'app-sci/wcalc')
-rw-r--r-- | app-sci/wcalc/ChangeLog | 11 | ||||
-rw-r--r-- | app-sci/wcalc/Manifest | 3 | ||||
-rw-r--r-- | app-sci/wcalc/files/digest-wcalc-1.7 | 1 | ||||
-rw-r--r-- | app-sci/wcalc/metadata.xml | 14 | ||||
-rw-r--r-- | app-sci/wcalc/wcalc-1.7.ebuild | 35 |
5 files changed, 64 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..6fdc3b059213 --- /dev/null +++ b/app-sci/wcalc/Manifest @@ -0,0 +1,3 @@ +MD5 28e8515ee944770041c8560c384b502d wcalc-1.7.ebuild 880 +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 +} |