Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
commit: 7967e1ecedd42df018be9626f13ec741ace2eba0
Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 2 12:57:46 2012 +0000
Commit: Thomas Kahle <tom111 <AT> gmx <DOT> de>
CommitDate: Thu Feb 2 12:57:46 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7967e1ec
Adding kash (binary version only)
(Portage version: 2.1.10.44/git/Linux x86_64, unsigned Manifest commit)
---
sci-mathematics/kash-bin/ChangeLog | 10 +++++
sci-mathematics/kash-bin/kash-bin-3.ebuild | 54 ++++++++++++++++++++++++++++
sci-mathematics/kash-bin/metadata.xml | 16 ++++++++
3 files changed, 80 insertions(+), 0 deletions(-)
diff --git a/sci-mathematics/kash-bin/ChangeLog b/sci-mathematics/kash-bin/ChangeLog
new file mode 100644
index 0000000..20d1d43
--- /dev/null
+++ b/sci-mathematics/kash-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-mathematics/kash-bin
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*kash-bin-3 (02 Feb 2012)
+
+ 02 Feb 2012; Thomas Kahle <tomka@g.o> +kash-bin-3.ebuild,
+ +metadata.xml:
+ Initial ebuild
+
diff --git a/sci-mathematics/kash-bin/kash-bin-3.ebuild b/sci-mathematics/kash-bin/kash-bin-3.ebuild
new file mode 100644
index 0000000..f7b1924
--- /dev/null
+++ b/sci-mathematics/kash-bin/kash-bin-3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+# inherit eutils
+
+DESCRIPTION="software package for algebraic number theory"
+
+# Homepage, not used by Portage directly but handy for developer reference
+HOMEPAGE="http://page.math.tu-berlin.de/~kant/kash.html"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="ftp://ftp.math.tu-berlin.de/pub/algebra/Kant/Kash_3/KASH3-Linux-i686-2008-07-31.tar.bz2
+ftp://ftp.math.tu-berlin.de/pub/algebra/Kant/Kash_3/KASH3-lib-archindep-2008-07-31.tar.bz2"
+
+LICENSE="kash"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~x86-linux ~amd64-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+MY_P="kash3"
+S="${WORKDIR}/${MY_P}"
+
+# This is a binary package:
+QA_PREBUILT="opt/${MY_P}/kash3"
+
+src_unpack() {
+ unpack ${A}
+ mkdir "${S}"
+ mv KASH3-Linux*/* "${S}" || die
+ mv KASH3-lib*/lib/* "${S}/lib/" || die
+}
+
+# Binary package
+# src_configure() { : }
+#
+# src_compile() { : }
+#
+src_install() {
+ cat > kash3.sh <<EOF
+#/bin/sh
+/opt/${MY_P}/kash3 -l ${EROOT}opt/${MY_P}/lib
+EOF
+ chmod 755 kash3.sh
+ dodir /opt/${MY_P}
+ cp -R "${S}/" "${D}"opt/ || die
+ dosym ../${MY_P}/kash3.sh /opt/bin/kash3
+}
diff --git a/sci-mathematics/kash-bin/metadata.xml b/sci-mathematics/kash-bin/metadata.xml
new file mode 100644
index 0000000..1fab0f2
--- /dev/null
+++ b/sci-mathematics/kash-bin/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-mathematics</herd>
+<maintainer>
+ <email>tomka@g.o</email>
+</maintainer>
+<longdescription>
+KANT is a computer algebra system for sophisticated computations in algebraic
+number fields that has been developed under the project leadership of
+Prof. Dr. M. E. Pohst at Technische Universität Berlin.
+
+The KANT functions are accessible through a user-friendly shell named KASH
+(KAnt SHell) that is freely available.
+</longdescription>
+</pkgmetadata>
|
|