diff options
Diffstat (limited to 'sci-calculators/wcalc/wcalc-2.4.ebuild')
-rw-r--r-- | sci-calculators/wcalc/wcalc-2.4.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-calculators/wcalc/wcalc-2.4.ebuild b/sci-calculators/wcalc/wcalc-2.4.ebuild new file mode 100644 index 000000000000..6ae2227b40f5 --- /dev/null +++ b/sci-calculators/wcalc/wcalc-2.4.ebuild @@ -0,0 +1,32 @@ +# 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.4.ebuild,v 1.1 2008/11/10 23:51:36 bicatali Exp $ + +inherit eutils + +DESCRIPTION="A flexible command-line scientific calculator" +HOMEPAGE="http://w-calc.sourceforge.net" +SRC_URI="mirror://sourceforge/w-calc/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="readline" + +DEPEND="readline? ( sys-libs/readline ) + dev-libs/mpfr + dev-libs/gmp" + +src_compile() { + econf $(use_with readline) + 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 +} |