aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:53:31 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:53:31 +0200
commit08878a695d0aa222c8688304e89089f277d11542 (patch)
treedc4fe3f950a509886e6abf5d443b87c772d72af1 /development
parent4f2f1dbd7e6847175ab54df29d35343e091a94b5 (diff)
development/gmm: Added to 12.1 repository
Diffstat (limited to 'development')
-rw-r--r--development/gmm/README8
-rw-r--r--development/gmm/gmm.SlackBuild65
-rw-r--r--development/gmm/gmm.info8
-rw-r--r--development/gmm/slack-desc19
4 files changed, 100 insertions, 0 deletions
diff --git a/development/gmm/README b/development/gmm/README
new file mode 100644
index 0000000000000..27f018f86400a
--- /dev/null
+++ b/development/gmm/README
@@ -0,0 +1,8 @@
+Gmm++ is a generic C++ template library for sparse, dense and
+skyline matrices. It is built as a set of generic algorithms
+(mult, add, copy, sub-matrices, dense and sparse solvers ...)
+for any interfaced vector type or matrix type. It can be view
+as a glue library allowing cooperation between several vector
+and matrix types. However, basic sparse, dense and skyline
+matrix/vector types are built in Gmm++, hence it can be used
+as a standalone linear algebra library.
diff --git a/development/gmm/gmm.SlackBuild b/development/gmm/gmm.SlackBuild
new file mode 100644
index 0000000000000..15756491e441b
--- /dev/null
+++ b/development/gmm/gmm.SlackBuild
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Slackware build script for gmm
+
+# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Modified by SlackBuilds.org
+
+PRGNAM=gmm
+VERSION=3.1
+ARCH=${ARCH:-noarch}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/development/gmm/gmm.info b/development/gmm/gmm.info
new file mode 100644
index 0000000000000..c6ef148a4c505
--- /dev/null
+++ b/development/gmm/gmm.info
@@ -0,0 +1,8 @@
+PRGNAM="gmm"
+VERSION="3.1"
+HOMEPAGE="http://home.gna.org/getfem/gmm_intro.html"
+DOWNLOAD="http://download.gna.org/getfem/stable/gmm-3.1.tar.gz"
+MD5SUM="5706d23bf3bb6d06d3d7e5889cf8554d"
+MAINTAINER="ppr:kut"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="David Somero" \ No newline at end of file
diff --git a/development/gmm/slack-desc b/development/gmm/slack-desc
new file mode 100644
index 0000000000000..b5d8d04a89cfb
--- /dev/null
+++ b/development/gmm/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler-----------------------------------------------|
+gmm: gmm (C++ generic matrix template library)
+gmm:
+gmm: Gmm++ is a generic C++ template library for sparse, dense and
+gmm: skyline matrices. It is built as a set of generic algorithms
+gmm: (mult, add, copy, sub-matrices, dense and sparse solvers ...)
+gmm: for any interfaced vector type or matrix type. It can be view
+gmm: as a glue library allowing cooperation between several vector
+gmm: and matrix types. However, basic sparse, dense and skyline
+gmm: matrix/vector types are built in Gmm++, hence it can be used
+gmm: as a standalone linear algebra library.
+gmm: Homepage: http://home.gna.org/getfem/gmm_intro.html