# ChangeLog for sci-calculators/wcalc
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/ChangeLog,v 1.2 2004/12/24 20:10:34 swegener Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/ChangeLog,v 1.3 2006/03/12 21:39:00 markusle Exp $
+
+*wcalc-2.2.1 (12 Mar 2006)
+
+ 12 Mar 2006; Markus Dittrich <markusle@gentoo.org> +wcalc-2.2.1.ebuild:
+ Version bump. Thanks much to Jussi Sainio <jusic@mbnet.fi> for
+ his ebuild. This fixes bug #125477.
*wcalc-1.7 (24 Dec 2004)
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 735127f513e8ca523d9995c45c194379 wcalc-1.7.ebuild 992
-MD5 fe4d8a6a17ad2823e816c57963dbdad3 ChangeLog 783
-MD5 ab159e23c00e4e2469bb8bd8db426595 metadata.xml 629
+MD5 ee7e36302c852d9c0c501329c8f95283 ChangeLog 989
+RMD160 1c79c44b9623436bdaead18ae5bd766cce781b40 ChangeLog 989
+SHA256 5bda4db82830a0bae6d69a09735125a6438ea1127967476840d8a4295911df48 ChangeLog 989
MD5 777e13ca09a30ca92f25fa804c24eee9 files/digest-wcalc-1.7 62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBzHfAI1lqEGTUzyQRAt9JAJ49G4QS9isOKAtWVp45O/kIuwHh4wCbBF9J
-DbyHFrTjeya5a8uUkg1TvR0=
-=k32E
------END PGP SIGNATURE-----
+RMD160 50613214120704cd2e93b2de028b70bcdd9f4b4e files/digest-wcalc-1.7 62
+SHA256 a819626401405c1aa95771cb81bf52ce9580b6c0a1e754e53207cf0f6193551d files/digest-wcalc-1.7 62
+MD5 807705390491a0209add1b6e3f95212a files/digest-wcalc-2.2.1 238
+RMD160 1a090aa79d05e19554da0277c76d5f7878a18aa0 files/digest-wcalc-2.2.1 238
+SHA256 c10e35ac716ce3e49f0f67e7fdc11d56d4df37f83d2667b425be5d7110926d43 files/digest-wcalc-2.2.1 238
+MD5 ab159e23c00e4e2469bb8bd8db426595 metadata.xml 629
+RMD160 aa20e1d7d1c3ca59c270fa39f3d694be7c9422e7 metadata.xml 629
+SHA256 440966f47213480ae1b9e1b9c3547681f844d3cc4ac71a485c02496fe74861e5 metadata.xml 629
+MD5 735127f513e8ca523d9995c45c194379 wcalc-1.7.ebuild 992
+RMD160 ae39d5aab3fbea369651c5090fa159321466295d wcalc-1.7.ebuild 992
+SHA256 9cc7a2c8e709f1ea0320c57c008013a95d4ea74b6c4e89dd3dcf3e2c70cdbeae wcalc-1.7.ebuild 992
+MD5 e2a93a602cd7125510c173571197408b wcalc-2.2.1.ebuild 879
+RMD160 4cc4fd4866e1a7d7a621fe258052f5f822ba4799 wcalc-2.2.1.ebuild 879
+SHA256 9438575794bd175216180453e5b1ba32a04965f43e00bb6a10f799b4cb7bfcde wcalc-2.2.1.ebuild 879
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/wcalc-2.2.1.ebuild,v 1.1 2006/03/12 21:39:00 markusle 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"
+IUSE="readline"
+
+DEPEND="readline? ( >=sys-libs/readline-4.3-r4 )
+ >=dev-libs/mpfr-2.1
+ dev-libs/gmp"
+
+S="${WORKDIR}"/Wcalc-${PV}
+
+src_compile() {
+ econf $(use_with readline) || die "Configuration failed."
+ emake || die "Compilation failed."
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README
+
+ # Wcalc icons
+ insinto /usr/share/pixmaps
+ newins w.png wcalc.png
+ newins Wred.png wcalc-red.png
+}