summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-visualization/som_pak/ChangeLog8
-rw-r--r--sci-visualization/som_pak/Manifest5
-rw-r--r--sci-visualization/som_pak/files/digest-som_pak-3.13
-rw-r--r--sci-visualization/som_pak/files/som_pak-3.1_makefile_qa.diff11
-rw-r--r--sci-visualization/som_pak/metadata.xml5
-rw-r--r--sci-visualization/som_pak/som_pak-3.1.ebuild34
6 files changed, 66 insertions, 0 deletions
diff --git a/sci-visualization/som_pak/ChangeLog b/sci-visualization/som_pak/ChangeLog
new file mode 100644
index 000000000..ec2d6c542
--- /dev/null
+++ b/sci-visualization/som_pak/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sci-visualization/som_pak
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 07 Apr 2007; Eddy Mulyono (eddyMul) <eddymul@gmail.com>
+ +som_pak-3.1.ebuild, +files/som_pak-3.1_makefile_qa.diff, +metadata.xml:
+ New Ebuild for bug 172841 thanks to jakub and Opfer
+
diff --git a/sci-visualization/som_pak/Manifest b/sci-visualization/som_pak/Manifest
new file mode 100644
index 000000000..dd5575e7c
--- /dev/null
+++ b/sci-visualization/som_pak/Manifest
@@ -0,0 +1,5 @@
+AUX som_pak-3.1_makefile_qa.diff 189 RMD160 1ff10cba70fe8191488777ba1baa51e2cf1e8178 SHA1 51bcd843527ea64e06afddcf06e9d7546295df49 SHA256 1a1dc08ee711333de6dfd161942fd9a0615b27eadf3bd2d86a5af5c2d534df29
+DIST som_pak-3.1.tar 501760 RMD160 cb48e48a8fcf773e8873a21cd0dca1a725b330cd SHA1 544081ebac033ea7eb667074d07937882373fb0f SHA256 a9421ebbe55217674c3a8a5157a8f8e124379e2689c652b7ca6003d0df889f6c
+EBUILD som_pak-3.1.ebuild 747 RMD160 8b499df96c6c9e8af71dbf33227c903553df98c8 SHA1 fb43cc2cefb056b730a633dfe626032d37bd7c67 SHA256 4cf4e2f889ad21c9a025cb5d066b119d366b88108ac729ce4db0e11ce6f65339
+MISC ChangeLog 314 RMD160 0b101ac4c98bf6f9f950a7ed2ac789d7bc660cb1 SHA1 929f40b817a915ee79f6eb4ffe16ad6d2602895f SHA256 98518709ad521259ee03442e895b4ce1763fa0f02716ecbebd93a5ef798d73fa
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sci-visualization/som_pak/files/digest-som_pak-3.1 b/sci-visualization/som_pak/files/digest-som_pak-3.1
new file mode 100644
index 000000000..a79001b97
--- /dev/null
+++ b/sci-visualization/som_pak/files/digest-som_pak-3.1
@@ -0,0 +1,3 @@
+MD5 ec95d1d637e7cee648a1dca90926bfe1 som_pak-3.1.tar 501760
+RMD160 cb48e48a8fcf773e8873a21cd0dca1a725b330cd som_pak-3.1.tar 501760
+SHA256 a9421ebbe55217674c3a8a5157a8f8e124379e2689c652b7ca6003d0df889f6c som_pak-3.1.tar 501760
diff --git a/sci-visualization/som_pak/files/som_pak-3.1_makefile_qa.diff b/sci-visualization/som_pak/files/som_pak-3.1_makefile_qa.diff
new file mode 100644
index 000000000..079b97d2e
--- /dev/null
+++ b/sci-visualization/som_pak/files/som_pak-3.1_makefile_qa.diff
@@ -0,0 +1,11 @@
+--- som_pak-3.1/makefile.unix Thu Feb 22 17:22:05 2007
++++ som_pak-3.1/my_makefile.unix Thu Feb 22 17:22:05 2007
+@@ -1,8 +1,6 @@
+
+ #
+ CC=cc
+-CFLAGS=-O
+-LDFLAGS=-s
+ LDLIBS=-lm
+ LD=$(CC)
+
diff --git a/sci-visualization/som_pak/metadata.xml b/sci-visualization/som_pak/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/sci-visualization/som_pak/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/sci-visualization/som_pak/som_pak-3.1.ebuild b/sci-visualization/som_pak/som_pak-3.1.ebuild
new file mode 100644
index 000000000..67e09a3cf
--- /dev/null
+++ b/sci-visualization/som_pak/som_pak-3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+SRC_URI="http://www.cis.hut.fi/research/${PN}/${P}.tar"
+SLOT="0"
+LICENSE="free-noncomm"
+KEYWORDS="~x86"
+DESCRIPTION="The Self-Organizing Map Program Package"
+HOMEPAGE="http://www.cis.hut.fi/research/som-research/nnrc-programs.shtml"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}_makefile_qa.diff"
+}
+
+src_compile() {
+ emake -f makefile.unix || die "compilation failed"
+}
+
+src_test() {
+ # is this really a "test"?
+ emake -f makefile.unix example || die "tests failed"
+}
+
+src_install() {
+ dobin lininit mapinit planes qerror randinit sammon umat vcal vfind visual vsom
+ dodoc README
+} \ No newline at end of file