1 |
commit: 7967e1ecedd42df018be9626f13ec741ace2eba0 |
2 |
Author: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 2 12:57:46 2012 +0000 |
4 |
Commit: Thomas Kahle <tom111 <AT> gmx <DOT> de> |
5 |
CommitDate: Thu Feb 2 12:57:46 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7967e1ec |
7 |
|
8 |
Adding kash (binary version only) |
9 |
|
10 |
(Portage version: 2.1.10.44/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sci-mathematics/kash-bin/ChangeLog | 10 +++++ |
14 |
sci-mathematics/kash-bin/kash-bin-3.ebuild | 54 ++++++++++++++++++++++++++++ |
15 |
sci-mathematics/kash-bin/metadata.xml | 16 ++++++++ |
16 |
3 files changed, 80 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/sci-mathematics/kash-bin/ChangeLog b/sci-mathematics/kash-bin/ChangeLog |
19 |
new file mode 100644 |
20 |
index 0000000..20d1d43 |
21 |
--- /dev/null |
22 |
+++ b/sci-mathematics/kash-bin/ChangeLog |
23 |
@@ -0,0 +1,10 @@ |
24 |
+# ChangeLog for sci-mathematics/kash-bin |
25 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
26 |
+# $Header: $ |
27 |
+ |
28 |
+*kash-bin-3 (02 Feb 2012) |
29 |
+ |
30 |
+ 02 Feb 2012; Thomas Kahle <tomka@g.o> +kash-bin-3.ebuild, |
31 |
+ +metadata.xml: |
32 |
+ Initial ebuild |
33 |
+ |
34 |
|
35 |
diff --git a/sci-mathematics/kash-bin/kash-bin-3.ebuild b/sci-mathematics/kash-bin/kash-bin-3.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..f7b1924 |
38 |
--- /dev/null |
39 |
+++ b/sci-mathematics/kash-bin/kash-bin-3.ebuild |
40 |
@@ -0,0 +1,54 @@ |
41 |
+# Copyright 1999-2012 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Header: $ |
44 |
+ |
45 |
+EAPI=4 |
46 |
+ |
47 |
+# inherit eutils |
48 |
+ |
49 |
+DESCRIPTION="software package for algebraic number theory" |
50 |
+ |
51 |
+# Homepage, not used by Portage directly but handy for developer reference |
52 |
+HOMEPAGE="http://page.math.tu-berlin.de/~kant/kash.html" |
53 |
+ |
54 |
+# Point to any required sources; these will be automatically downloaded by |
55 |
+# Portage. |
56 |
+SRC_URI="ftp://ftp.math.tu-berlin.de/pub/algebra/Kant/Kash_3/KASH3-Linux-i686-2008-07-31.tar.bz2 |
57 |
+ftp://ftp.math.tu-berlin.de/pub/algebra/Kant/Kash_3/KASH3-lib-archindep-2008-07-31.tar.bz2" |
58 |
+ |
59 |
+LICENSE="kash" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~x86 ~amd64 ~x86-linux ~amd64-linux" |
62 |
+IUSE="" |
63 |
+ |
64 |
+DEPEND="" |
65 |
+RDEPEND="" |
66 |
+ |
67 |
+MY_P="kash3" |
68 |
+S="${WORKDIR}/${MY_P}" |
69 |
+ |
70 |
+# This is a binary package: |
71 |
+QA_PREBUILT="opt/${MY_P}/kash3" |
72 |
+ |
73 |
+src_unpack() { |
74 |
+ unpack ${A} |
75 |
+ mkdir "${S}" |
76 |
+ mv KASH3-Linux*/* "${S}" || die |
77 |
+ mv KASH3-lib*/lib/* "${S}/lib/" || die |
78 |
+} |
79 |
+ |
80 |
+# Binary package |
81 |
+# src_configure() { : } |
82 |
+# |
83 |
+# src_compile() { : } |
84 |
+# |
85 |
+src_install() { |
86 |
+ cat > kash3.sh <<EOF |
87 |
+#/bin/sh |
88 |
+/opt/${MY_P}/kash3 -l ${EROOT}opt/${MY_P}/lib |
89 |
+EOF |
90 |
+ chmod 755 kash3.sh |
91 |
+ dodir /opt/${MY_P} |
92 |
+ cp -R "${S}/" "${D}"opt/ || die |
93 |
+ dosym ../${MY_P}/kash3.sh /opt/bin/kash3 |
94 |
+} |
95 |
|
96 |
diff --git a/sci-mathematics/kash-bin/metadata.xml b/sci-mathematics/kash-bin/metadata.xml |
97 |
new file mode 100644 |
98 |
index 0000000..1fab0f2 |
99 |
--- /dev/null |
100 |
+++ b/sci-mathematics/kash-bin/metadata.xml |
101 |
@@ -0,0 +1,16 @@ |
102 |
+<?xml version="1.0" encoding="UTF-8"?> |
103 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
104 |
+<pkgmetadata> |
105 |
+<herd>sci-mathematics</herd> |
106 |
+<maintainer> |
107 |
+ <email>tomka@g.o</email> |
108 |
+</maintainer> |
109 |
+<longdescription> |
110 |
+KANT is a computer algebra system for sophisticated computations in algebraic |
111 |
+number fields that has been developed under the project leadership of |
112 |
+Prof. Dr. M. E. Pohst at Technische Universität Berlin. |
113 |
+ |
114 |
+The KANT functions are accessible through a user-friendly shell named KASH |
115 |
+(KAnt SHell) that is freely available. |
116 |
+</longdescription> |
117 |
+</pkgmetadata> |