diff options
-rw-r--r-- | academic/scilab/README | 5 | ||||
-rw-r--r-- | academic/scilab/doinst.sh | 4 | ||||
-rw-r--r-- | academic/scilab/scilab.SlackBuild | 114 | ||||
-rw-r--r-- | academic/scilab/scilab.desktop | 9 | ||||
-rw-r--r-- | academic/scilab/scilab.info | 8 | ||||
-rw-r--r-- | academic/scilab/slack-desc | 19 |
6 files changed, 0 insertions, 159 deletions
diff --git a/academic/scilab/README b/academic/scilab/README deleted file mode 100644 index bb2d8ef118..0000000000 --- a/academic/scilab/README +++ /dev/null @@ -1,5 +0,0 @@ -Scilab is a scientific software package for numerical computations providing a -powerful open computing environment for engineering and scientific applications. - -All Scilab default requirements are included in Slackware. If you need OCaml or -Java support, please check the documentation included for the flags. diff --git a/academic/scilab/doinst.sh b/academic/scilab/doinst.sh deleted file mode 100644 index 4e8ba7071d..0000000000 --- a/academic/scilab/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild deleted file mode 100644 index c55fe309cc..0000000000 --- a/academic/scilab/scilab.SlackBuild +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/sh - -# Slackware build script for scilab - -# Copyright (c) 2009 João Felipe Santos -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. - -# The .desktop file was retrieved from the ArchLinux User Repository, -# where it is mantained by StefanHusmann - -PRGNAM=scilab -VERSION=${VERSION:-4.1.2} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -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 \ - --sysconfdir=/etc \ - --with-tk \ - --with-gfortran \ - --build=$ARCH-slackware-linux - -make CC_OPTIONS+="$SLKCFLAGS" FC_OPTIONS+="$SLKCFLAGS" all -make PREFIX=$PKG/usr DESTDIR=$PKG install - -# We've got a lot of embedded $TMP and $PKG paths in the package, so... -sed -i "s%$PKG%/usr/lib%g" $PKG/usr/bin/scilab # Do this one first -for i in $(grep -R '/tmp/SBo' $PKG | cut -d: -f1) ; do - sed -i "s%$PKG%%g" $i - sed -i "s%$TMP%%g" $i -done -# Now let's fix up a couple of symlinks -( cd $PKG/usr/bin - rm -f intersci intersci-n - ln -sf ../lib/$PRGNAM-$VERSION/bin/intersci intersci - ln -sf ../lib/$PRGNAM-$VERSION/bin/intersci-n intersci-n -) - -# Add a desktop menu entry -mkdir -p $PKG/usr/share/{applications,pixmaps} -cat $CWD/scilab.desktop > $PKG/usr/share/applications/scilab.desktop -( cd $PKG/usr/share/pixmaps - ln -s ../../lib/$PRGNAM-$VERSION/X11_defaults/scilab.xpm . -) - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) - -mv $PKG/usr/share/doc $PKG/usr -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc/$PRGNAM-$VERSION - for i in demos examples man ; - do ln -s ../../lib/$PRGNAM-$VERSION/$i . ; - done -) - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/academic/scilab/scilab.desktop b/academic/scilab/scilab.desktop deleted file mode 100644 index 0a363808b3..0000000000 --- a/academic/scilab/scilab.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Scilab -Comment=A scientific software package for numerical computations -Icon=scilab -Exec=scilab -Encoding=UTF-8 -Terminal=false -Type=Application -Categories=Application;Science;Math diff --git a/academic/scilab/scilab.info b/academic/scilab/scilab.info deleted file mode 100644 index 5f87103644..0000000000 --- a/academic/scilab/scilab.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="scilab" -VERSION="4.1.2" -HOMEPAGE="http://www.scilab.org" -DOWNLOAD="http://www.scilab.org/download/4.1.2/scilab-4.1.2-src.tar.gz" -MD5SUM="17a7a6aa52918f33d96777a0dc423658" -MAINTAINER="João Felipe Santos" -EMAIL="joao.eel[at]gmail.com" -APPROVED="rworkman" diff --git a/academic/scilab/slack-desc b/academic/scilab/slack-desc deleted file mode 100644 index 6a3e5536ef..0000000000 --- a/academic/scilab/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------------------------------------------------------| -scilab: Scilab (A scientific software package for numerical computations) -scilab: -scilab: Scilab is a scientific software package for numerical computations -scilab: providing a powerful open computing environment for engineering and -scilab: scientific applications. -scilab: -scilab: Homepage: http://www.scilab.org -scilab: -scilab: -scilab: -scilab: |