summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/snac/snac-0.3.ebuild')
-rw-r--r--sci-calculators/snac/snac-0.3.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-calculators/snac/snac-0.3.ebuild b/sci-calculators/snac/snac-0.3.ebuild
new file mode 100644
index 000000000000..f0bfe3e3c0d6
--- /dev/null
+++ b/sci-calculators/snac/snac-0.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/snac/snac-0.3.ebuild,v 1.1 2004/12/24 15:06:26 ribosome Exp $
+
+DESCRIPTION="SNAC's a Neat Algebraic Calculator."
+SRC_URI="http://snac.seul.org/${P}.tar.gz"
+HOMEPAGE="http://snac.seul.org/"
+
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc"
+
+DEPEND=">=x11-libs/gtk+-1.2.0
+ gnome-base/libgnomeui
+ gnome-base/gnome-libs"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/po
+
+ mv Makefile.in.in Makefile.in-orig
+ sed -e "s:gnulocaledir = :gnulocaledir = ${D}:" Makefile.in-orig > Makefile.in.in
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS
+}