summaryrefslogtreecommitdiff
path: root/academic/RBio
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-06-05 17:46:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:42 -0400
commit80680670799cb31ce1e528efe7d6310f29152a94 (patch)
treee3dc369f66edc6b8483c7890316643c7e2c23ddc /academic/RBio
parent22f5314ebac24f79a376df173d7c29728e4947a4 (diff)
downloadslackbuilds-80680670799cb31ce1e528efe7d6310f29152a94.tar.gz
academic/RBio: Moved to libraries.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/RBio')
-rw-r--r--academic/RBio/RBio.SlackBuild76
-rw-r--r--academic/RBio/RBio.info10
-rw-r--r--academic/RBio/README7
-rw-r--r--academic/RBio/autotoolize.diff191
-rw-r--r--academic/RBio/slack-desc19
5 files changed, 0 insertions, 303 deletions
diff --git a/academic/RBio/RBio.SlackBuild b/academic/RBio/RBio.SlackBuild
deleted file mode 100644
index eb0baa0876..0000000000
--- a/academic/RBio/RBio.SlackBuild
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for RBio
-# Written by Kyle Guinn <elyk03@gmail.com>
-
-PRGNAM=RBio
-VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-DOCS="README.txt Doc/ChangeLog Doc/License.txt Doc/gpl.txt"
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM.tar.gz
-cd $PRGNAM
-chown -R root:root .
-chmod -R u+w,go+r-w,a-st .
-
-patch -p1 < $CWD/autotoolize.diff
-autoreconf -vif
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $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.${PKGTYPE:-tgz}
diff --git a/academic/RBio/RBio.info b/academic/RBio/RBio.info
deleted file mode 100644
index da7767316d..0000000000
--- a/academic/RBio/RBio.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="RBio"
-VERSION="2.0.0"
-HOMEPAGE="http://www.cise.ufl.edu/research/sparse/RBio/"
-DOWNLOAD="http://www.cise.ufl.edu/research/sparse/RBio/current/RBio.tar.gz"
-MD5SUM="c27563fce30d45b5a0ee33ccde035005"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="Kyle Guinn"
-EMAIL="elyk03@gmail.com"
-APPROVED="dsomero"
diff --git a/academic/RBio/README b/academic/RBio/README
deleted file mode 100644
index 5b5398cd52..0000000000
--- a/academic/RBio/README
+++ /dev/null
@@ -1,7 +0,0 @@
-RBio - MATLAB toolbox for reading/writing sparse matrices in the
-Rutherford/Boeing format, and for reading/writing problems in the UF
-Sparse Matrix Collection from/to a set of files in a directory.
-
-This package is part of SuiteSparse.
-
-Requires UFconfig.
diff --git a/academic/RBio/autotoolize.diff b/academic/RBio/autotoolize.diff
deleted file mode 100644
index 709474efa6..0000000000
--- a/academic/RBio/autotoolize.diff
+++ /dev/null
@@ -1,191 +0,0 @@
-diff --git a/Demo/Makefile.am b/Demo/Makefile.am
-new file mode 100644
---- /dev/null
-+++ b/Demo/Makefile.am
-@@ -0,0 +1,16 @@
-+AM_CPPFLAGS = -I$(top_srcdir)/Include
-+LDADD = $(top_builddir)/Source/librbio.la -lufconfig
-+
-+check_PROGRAMS = \
-+ RBdemo
-+
-+RBdemo_SOURCES = RBdemo.c
-+
-+RB = \
-+ ../RBio/private/west0479.rua
-+
-+check-local: $(check_PROGRAMS) $(RB)
-+ ./RBdemo < ../RBio/private/west0479.rua
-+
-+clean-local:
-+ -$(RM) temp.rb
-diff --git a/Makefile.am b/Makefile.am
-new file mode 100644
---- /dev/null
-+++ b/Makefile.am
-@@ -0,0 +1,3 @@
-+SUBDIRS = Source RBio/private Demo Tcov
-+EXTRA_DIST = README.txt Doc/ChangeLog Doc/License.txt Doc/gpl.txt
-+include_HEADERS = Include/RBio.h
-diff --git a/RBio/private/Makefile.am b/RBio/private/Makefile.am
-new file mode 100644
---- /dev/null
-+++ b/RBio/private/Makefile.am
-@@ -0,0 +1,7 @@
-+dist_noinst_DATA = \
-+ bcsstk01.rb \
-+ farm.rb \
-+ lap_25.pse \
-+ lap_25.rb \
-+ west0479.rb \
-+ west0479.rua
-diff --git a/Source/Makefile.am b/Source/Makefile.am
-new file mode 100644
---- /dev/null
-+++ b/Source/Makefile.am
-@@ -0,0 +1,16 @@
-+AM_CPPFLAGS = -I$(top_srcdir)/Include
-+
-+RBIOSRC = \
-+ RBio.c
-+
-+lib_LTLIBRARIES = librbio.la
-+noinst_LTLIBRARIES = librbioi.la librbiol.la
-+
-+librbioi_la_SOURCES = $(RBIOSRC)
-+librbioi_la_CPPFLAGS = $(AM_CPPFLAGS) -DINT
-+
-+librbiol_la_SOURCES = $(RBIOSRC)
-+
-+librbio_la_SOURCES =
-+librbio_la_LIBADD = librbioi.la librbiol.la
-+librbio_la_LDFLAGS = -no-undefined -version-info 2:0:0
-diff --git a/Tcov/Makefile.am b/Tcov/Makefile.am
-new file mode 100644
---- /dev/null
-+++ b/Tcov/Makefile.am
-@@ -0,0 +1,94 @@
-+AM_CC = gcc
-+AM_CFLAGS = -O0 -g --coverage
-+AM_CPPFLAGS = -I$(top_srcdir)/Include
-+LDADD = -lufconfig
-+
-+dist_noinst_DATA = \
-+ matrices/Tina_DisCog.tar.gz \
-+ matrices/dwg961a.tar.gz \
-+ matrices/m4.rb \
-+ matrices/m4b.rb \
-+ matrices/mhd1280a.tar.gz \
-+ matrices/mhd1280b.tar.gz \
-+ matrices/plskz362.tar.gz \
-+ matrices/qc324.tar.gz \
-+ matrices/s4.rb \
-+ matrices/west0067.tar.gz \
-+ mangled/1.rb \
-+ mangled/2.rb \
-+ mangled/3.rb \
-+ mangled/4.rb \
-+ mangled/5.rb \
-+ mangled/6.rb \
-+ mangled/7.rb \
-+ mangled/8.rb \
-+ mangled/9.rb \
-+ mangled/10.rb \
-+ mangled/11.rb \
-+ mangled/12.rb \
-+ mangled/13.rb \
-+ mangled/14.rb \
-+ mangled/15.rb
-+
-+check_PROGRAMS = \
-+ RBdemo \
-+ RBtest
-+
-+RBio.c: ../Source/RBio.c
-+ $(LN_S) -f $< $@
-+
-+RBdemo.c: ../Demo/RBdemo.c
-+ $(LN_S) -f $< $@
-+
-+RBdemo_SOURCES = RBdemo.c RBio.c
-+RBtest_SOURCES = RBtest.c RBio.c
-+
-+TAR = tar -O -xvvzf
-+
-+RB = \
-+ ../RBio/private/bcsstk01.rb \
-+ ../RBio/private/farm.rb \
-+ ../RBio/private/lap_25.pse \
-+ ../RBio/private/lap_25.rb \
-+ ../RBio/private/west0479.rb \
-+ ../RBio/private/west0479.rua \
-+ $(dist_noinst_DATA)
-+
-+check-local: $(check_PROGRAMS) $(RB)
-+ -./RBdemo ../RBio/private/bcsstk01.rb
-+ -./RBdemo ../RBio/private/farm.rb
-+ -./RBdemo ../RBio/private/lap_25.pse
-+ -./RBdemo ../RBio/private/lap_25.rb
-+ -./RBdemo ../RBio/private/west0479.rb
-+ -./RBdemo ../RBio/private/west0479.rua
-+ -$(TAR) matrices/dwg961a.tar.gz dwg961a/dwg961a.rb | ./RBdemo
-+ -$(TAR) matrices/mhd1280a.tar.gz mhd1280a/mhd1280a.rb | ./RBdemo
-+ -$(TAR) matrices/mhd1280b.tar.gz mhd1280b/mhd1280b.rb | ./RBdemo
-+ -$(TAR) matrices/qc324.tar.gz qc324/qc324.rb | ./RBdemo
-+ -$(TAR) matrices/plskz362.tar.gz plskz362/plskz362.rb | ./RBdemo
-+ -$(TAR) matrices/west0067.tar.gz west0067/west0067.rb | ./RBdemo
-+ -$(TAR) matrices/Tina_DisCog.tar.gz Tina_DisCog/Tina_DisCog.rb | ./RBdemo
-+ -./RBdemo matrices/m4.rb
-+ -./RBdemo matrices/s4.rb
-+ -./RBdemo matrices/m4b.rb
-+ -./RBdemo mangled/1.rb
-+ -./RBdemo mangled/2.rb
-+ -./RBdemo mangled/3.rb
-+ -./RBdemo mangled/4.rb
-+ -./RBdemo mangled/5.rb
-+ -./RBdemo mangled/6.rb
-+ -./RBdemo mangled/7.rb
-+ -./RBdemo mangled/8.rb
-+ -./RBdemo mangled/9.rb
-+ -./RBdemo mangled/10.rb
-+ -./RBdemo mangled/11.rb
-+ -./RBdemo mangled/12.rb
-+ -./RBdemo mangled/13.rb
-+ -./RBdemo mangled/14.rb
-+ -./RBdemo mangled/15.rb
-+ -./RBtest
-+ -gcov *.c > gcov.out
-+ -grep "#####" RBio.c.gcov | wc -l
-+
-+clean-local:
-+ -$(RM) gcov.out *.gcov *.gcda *.gcno temp*.rb
-diff --git a/configure.ac b/configure.ac
-new file mode 100644
---- /dev/null
-+++ b/configure.ac
-@@ -0,0 +1,25 @@
-+AC_PREREQ([2.65])
-+AC_INIT([RBio], [2.0.0], [davis@cise.ufl.edu])
-+AC_CONFIG_SRCDIR([Source/RBio.c])
-+AC_CONFIG_HEADER([config.h])
-+AM_INIT_AUTOMAKE([foreign])
-+LT_INIT
-+
-+AC_PROG_INSTALL
-+AC_PROG_CC
-+
-+LIBS_SAVED=$LIBS
-+
-+AC_CHECK_LIB([ufconfig], [UFmalloc])
-+
-+AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
-+
-+LIBS=$LIBS_SAVED
-+
-+AC_CONFIG_FILES([
-+ Makefile
-+ Demo/Makefile
-+ RBio/private/Makefile
-+ Source/Makefile
-+ Tcov/Makefile])
-+AC_OUTPUT
diff --git a/academic/RBio/slack-desc b/academic/RBio/slack-desc
deleted file mode 100644
index 6522449794..0000000000
--- a/academic/RBio/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-RBio: RBio (sparse matrix I/O routines)
-RBio:
-RBio: RBio - MATLAB toolbox for reading/writing sparse matrices in the
-RBio: Rutherford/Boeing format, and for reading/writing problems in the
-RBio: UF Sparse Matrix Collection from/to a set of files in a directory.
-RBio:
-RBio:
-RBio:
-RBio:
-RBio:
-RBio: