diff options
-rw-r--r-- | libraries/gsl/README | 7 | ||||
-rw-r--r-- | libraries/gsl/gsl.SlackBuild | 87 | ||||
-rw-r--r-- | libraries/gsl/gsl.info | 10 | ||||
-rw-r--r-- | libraries/gsl/slack-desc | 19 |
4 files changed, 0 insertions, 123 deletions
diff --git a/libraries/gsl/README b/libraries/gsl/README deleted file mode 100644 index 78244520984a1..0000000000000 --- a/libraries/gsl/README +++ /dev/null @@ -1,7 +0,0 @@ -The GNU Scientific Library (GSL) is a numerical library for C and C++ -programmers. It is free software under the GNU General Public License. - -The library provides a wide range of mathematical routines such as -random number generators, special functions and least-squares -fitting. There are over 1000 functions in total with an extensive test -suite. diff --git a/libraries/gsl/gsl.SlackBuild b/libraries/gsl/gsl.SlackBuild deleted file mode 100644 index e102100335339..0000000000000 --- a/libraries/gsl/gsl.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for GSL - -# Written by Aleksandar Samardzic <asamardzic@gmail.com> - -PRGNAM=gsl -VERSION=${VERSION:-1.16} -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} - -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-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -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 DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mv $PKG/usr/share/info $PKG/usr -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO \ - $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/libraries/gsl/gsl.info b/libraries/gsl/gsl.info deleted file mode 100644 index d433e61adb3c0..0000000000000 --- a/libraries/gsl/gsl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gsl" -VERSION="1.16" -HOMEPAGE="http://www.gnu.org/software/gsl" -DOWNLOAD="ftp://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz" -MD5SUM="e49a664db13d81c968415cd53f62bc8b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/libraries/gsl/slack-desc b/libraries/gsl/slack-desc deleted file mode 100644 index 0b52c0219632f..0000000000000 --- a/libraries/gsl/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -gsl: GSL (a numerical library for C and C++ programmers) -gsl: -gsl: The GNU Scientific Library (GSL) is a collection of routines for -gsl: numerical computing. The routines are written from scratch by the -gsl: GSL team in ANSI C, and present a modern API for C programmers, -gsl: while allowing wrappers to be written for very high-level -gsl: languages. -gsl: -gsl: Homepage: http://www.gnu.org/software/gsl/ -gsl: -gsl: |