various: Fix SlackBuild formatting and comment nit picks.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2013-11-22 02:34:22 -05:00
parent 610e8461bb
commit 687c78d560
1359 changed files with 1792 additions and 3167 deletions

View File

@ -45,12 +45,12 @@ OUTPUT=${OUTPUT:-/tmp}
COASTNAME=gshhg-gmt-nc3 COASTNAME=gshhg-gmt-nc3
COASTVER=2.2.3 COASTVER=2.2.3
# Shewchuk's triangulation routine used in some parts of GMT is not # Shewchuk's triangulation routine used in some parts of GMT is not
# distributed under the GNU Public Licence. If you work for a for-profit # distributed under the GNU Public Licence. If you work for a for-profit
# organisation, you should read Shewchuk's copyright statement (in # organisation, you should read Shewchuk's copyright statement (in
# $PKG/src/README.TRIANGLE) first. # $PKG/src/README.TRIANGLE) first.
# This script enables the (much faster) Shewchuk triangulation routine # This script enables the (much faster) Shewchuk triangulation routine
# by default; should you need to change this behaviour, set SHEWCHUK to # by default; should you need to change this behaviour, set SHEWCHUK to
# "no" below: # "no" below:
SHEWCHUK=${SHEWCHUK:-yes} SHEWCHUK=${SHEWCHUK:-yes}
if [ $SHEWCHUK = "yes" ]; then if [ $SHEWCHUK = "yes" ]; then
@ -126,7 +126,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE.TXT README $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog LICENSE.TXT README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Gblocks PRGNAM=Gblocks
VERSION=${VERSION:-0.91b} VERSION=${VERSION:-0.91b}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -36,9 +36,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e

View File

@ -66,7 +66,7 @@ DOCBOOK=dsssl-stylesheets-1.79
CHUNK=xsl-stylesheets-1.76.1 CHUNK=xsl-stylesheets-1.76.1
DOCBOOKX=xml-dtd-4.5 DOCBOOKX=xml-dtd-4.5
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -107,7 +107,7 @@ sed -i "s:/usr/local:/usr/share:" qtiplot/qtiplot.pro
sed -i "s:/share/man:/man:" qtiplot/qtiplot.pro sed -i "s:/share/man:/man:" qtiplot/qtiplot.pro
sed -i "s:/share/doc/qtiplot:/doc/$PRGNAM-$VERSION:" qtiplot/qtiplot.pro sed -i "s:/share/doc/qtiplot:/doc/$PRGNAM-$VERSION:" qtiplot/qtiplot.pro
# Point to the right places of qt-assistant-compat, libreoffice (when # Point to the right places of qt-assistant-compat, libreoffice (when
# installed), latex, java, the QtiPlot html manual and fitPlugins # installed), latex, java, the QtiPlot html manual and fitPlugins
sed -i "s:<QAssistantClient>:<QtAssistant/qassistantclient.h>:" qtiplot/src/core/ApplicationWindow.cpp sed -i "s:<QAssistantClient>:<QtAssistant/qassistantclient.h>:" qtiplot/src/core/ApplicationWindow.cpp
sed -i "s:/usr/bin/soffice:/usr/bin/libreoffice:" qtiplot/src/core/ApplicationWindow.cpp sed -i "s:/usr/bin/soffice:/usr/bin/libreoffice:" qtiplot/src/core/ApplicationWindow.cpp

View File

@ -37,7 +37,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -66,7 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
make CFLAGS="$CFLAGS -DUSE_INTERP_RESULT" make CFLAGS="$CFLAGS -DUSE_INTERP_RESULT"
make install DESTDIR=$PKG make install DESTDIR=$PKG
# Make sure WNHOME is set in the users' environments # Make sure WNHOME is set in the users' environments
mkdir -p $PKG/etc/profile.d mkdir -p $PKG/etc/profile.d
cat $CWD/profile.d/WordNet.sh > $PKG/etc/profile.d/WordNet.sh cat $CWD/profile.d/WordNet.sh > $PKG/etc/profile.d/WordNet.sh
cat $CWD/profile.d/WordNet.csh > $PKG/etc/profile.d/WordNet.csh cat $CWD/profile.d/WordNet.csh > $PKG/etc/profile.d/WordNet.csh

View File

@ -3,23 +3,23 @@
# Slackware build script for abntex # Slackware build script for abntex
# Copyright 2009 Andre Barboza <bmg.andre@gmail.com> # Copyright 2009 Andre Barboza <bmg.andre@gmail.com>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met: # permitted provided that the following conditions are met:
# #
# 1. Redistributions of this script must retain the above copyright # 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# #
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Slightly modified by Robby Workman <rworkman@slackbuilds.org> # Slightly modified by Robby Workman <rworkman@slackbuilds.org>

View File

@ -22,17 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=amplicon PRGNAM=amplicon
VERSION=${VERSION:-b09.1} VERSION=${VERSION:-b09.1}
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
ARCH=noarch ARCH=noarch
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e

View File

@ -1,17 +1,17 @@
#!/bin/sh #!/bin/sh
# Slackware build script for arka # Slackware build script for arka
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=arka PRGNAM=arka
VERSION=${VERSION:-0.11} VERSION=${VERSION:-0.11}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -22,9 +22,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"

View File

@ -9,12 +9,10 @@ VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -83,7 +83,7 @@ cd build
-DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DLIB_SUFFIX=$LIBDIRSUFFIX .. -DLIB_SUFFIX=$LIBDIRSUFFIX ..
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG

View File

@ -18,7 +18,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bowtie PRGNAM=bowtie
VERSION=${VERSION:-0.12.9} VERSION=${VERSION:-0.12.9}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -82,7 +82,7 @@ mkdir -p $PKG/usr/share/$PRGNAM
cp -a \ cp -a \
genomes indexes reads scripts \ genomes indexes reads scripts \
$PKG/usr/share/$PRGNAM $PKG/usr/share/$PRGNAM
# Let's compress the E. coli genome and indexes # Let's compress the E. coli genome and indexes
gzip $PKG/usr/share/$PRGNAM/genomes/*.fna gzip $PKG/usr/share/$PRGNAM/genomes/*.fna
gzip $PKG/usr/share/$PRGNAM/indexes/*.ebwt gzip $PKG/usr/share/$PRGNAM/indexes/*.ebwt

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bwa PRGNAM=bwa
VERSION=${VERSION:-0.6.2} VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -81,7 +81,7 @@ make
install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM
install -D -m644 $PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 install -D -m644 $PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -36,7 +36,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/usr/share/java mkdir -p $PKG/usr/share/java

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cap3 PRGNAM=cap3
VERSION=${VERSION:-20091029} # Use the last modification date as version VERSION=${VERSION:-20091029} # Use the last modification date as version
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -56,7 +56,7 @@ fi
# Construct tarball name # Construct tarball name
TARNAME=${PRGNAM}.linux${SRCARCH} TARNAME=${PRGNAM}.linux${SRCARCH}
DIRNAM=CAP3 DIRNAM=CAP3
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -9,12 +9,10 @@ VERSION=${VERSION:-20110120}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -38,7 +36,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -2,7 +2,7 @@
# Slackware build script for chemtool # Slackware build script for chemtool
# Copyright 2006,2008-2013 Robby Workman, Northport, Alabama, USA # Copyright 2006,2008-2013 Robby Workman, Northport, Alabama, USA
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -56,7 +56,7 @@ fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
@ -85,7 +85,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/share/{applications,pixmaps} mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat $CWD/chemtool.png > $PKG/usr/share/pixmaps/chemtool.png cat $CWD/chemtool.png > $PKG/usr/share/pixmaps/chemtool.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a examples/ ChangeLog INSTALL NEWS README TODO using_chemtool.html \ cp -a examples/ ChangeLog INSTALL NEWS README TODO using_chemtool.html \

View File

@ -77,7 +77,7 @@ cd $PRGNAM-$VERSION
cld2_generated_quadchrome0715.cc cld2_generated_deltaoctachrome0614.cc \ cld2_generated_quadchrome0715.cc cld2_generated_deltaoctachrome0614.cc \
cld2_generated_distinctoctachrome0604.cc cld_generated_score_quad_octa_1024_256.cc \ cld2_generated_distinctoctachrome0604.cc cld_generated_score_quad_octa_1024_256.cc \
-o libcld2.so -o libcld2.so
g++ -shared $SLKCFLAGS \ g++ -shared $SLKCFLAGS \
cldutil.cc cldutil_shared.cc compact_lang_det.cc compact_lang_det_hint_code.cc \ cldutil.cc cldutil_shared.cc compact_lang_det.cc compact_lang_det_hint_code.cc \
compact_lang_det_impl.cc debug.cc fixunicodevalue.cc \ compact_lang_det_impl.cc debug.cc fixunicodevalue.cc \
@ -89,11 +89,11 @@ cd $PRGNAM-$VERSION
cld2_generated_quad0720.cc cld2_generated_deltaocta0527.cc \ cld2_generated_quad0720.cc cld2_generated_deltaocta0527.cc \
cld2_generated_distinctocta0527.cc cld_generated_score_quad_octa_1024_256.cc \ cld2_generated_distinctocta0527.cc cld_generated_score_quad_octa_1024_256.cc \
-o libcld2_full.so -o libcld2_full.so
g++ $SLKCFLAGS \ g++ $SLKCFLAGS \
compact_lang_det_test.cc -I. -L. libcld2_full.so \ compact_lang_det_test.cc -I. -L. libcld2_full.so \
-o cld2 -o cld2
install -D -m 0755 cld2 $PKG/usr/bin/cld2 install -D -m 0755 cld2 $PKG/usr/bin/cld2
install -D -m 0755 libcld2.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2.so install -D -m 0755 libcld2.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2.so
install -D -m 0755 libcld2_full.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2_full.so install -D -m 0755 libcld2_full.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2_full.so

View File

@ -1,15 +1,15 @@
#!/bin/sh #!/bin/sh
# Slackware build script for clustalw # Slackware build script for clustalw
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=clustalw PRGNAM=clustalw
VERSION=${VERSION:-2.1} VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -77,7 +77,7 @@ cd -
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# This is empty # This is empty
rm -rf $PKG/usr/share rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,16 +1,16 @@
#!/bin/sh #!/bin/sh
# Slackware build script for clustalx # Slackware build script for clustalx
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# Based on the clustalx PKGBUILD from Archlinux AUR # Based on the clustalx PKGBUILD from Archlinux AUR
# (http://aur.archlinux.org/packages.php?ID=25080). # (http://aur.archlinux.org/packages.php?ID=25080).
# PKGBUILD submitter is mickelliot and maintainer is # PKGBUILD submitter is mickelliot and maintainer is
# machoo02. Thank you! # machoo02. Thank you!
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=clustalx PRGNAM=clustalx
@ -45,7 +45,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -1,18 +1,18 @@
#!/bin/sh #!/bin/sh
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
# Slackware build script for coq # Slackware build script for coq
# Written by William Bowman (wilbowma@indiana.edu) # Written by William Bowman (wilbowma@indiana.edu)
@ -65,7 +65,7 @@ find . \
if hash ocamlopt || hash ocamlopt.opt ; then if hash ocamlopt || hash ocamlopt.opt ; then
OPT="-opt" OPT="-opt"
else else
OPT="" OPT=""
fi fi
@ -73,11 +73,11 @@ fi
-prefix /usr \ -prefix /usr \
-libdir /usr/lib${LIBDIRSUFFIX}/coq \ -libdir /usr/lib${LIBDIRSUFFIX}/coq \
-arch $ARCH \ -arch $ARCH \
$OPT $OPT
make world make world
umask 022 umask 022
COQINSTALLPREFIX=$PKG make install COQINSTALLPREFIX=$PKG make install
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -8,12 +8,10 @@ VERSION=4.1
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -20,7 +20,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG/usr $OUTPUT mkdir -p $TMP $PKG/usr $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz tar xvf $CWD/$PRGNAM-$VERSION.tgz

View File

@ -62,7 +62,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \ -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release .. -DCMAKE_BUILD_TYPE=Release ..
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
cd .. cd ..

View File

@ -56,7 +56,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -87,7 +87,7 @@ cd tmp
-DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \ -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ../src -DCMAKE_BUILD_TYPE=Release ../src
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
cd .. cd ..

View File

@ -4,7 +4,7 @@
# written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com # written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com
PRGNAM=flashqard PRGNAM=flashqard
VERSION=${VERSION:-0.15.0} VERSION=${VERSION:-0.15.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -37,7 +37,7 @@ fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION rm -rf $TMP/$PRGNAM-$VERSION
@ -60,7 +60,7 @@ cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README AUTHORS INSTALL $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog README AUTHORS INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/flashqard.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/flashqard.SlackBuild cat $CWD/flashqard.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/flashqard.SlackBuild

View File

@ -4,16 +4,16 @@
# Copyright (c) 2009, Paul Liconti # Copyright (c) 2009, Paul Liconti
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without modification, # Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met: # are permitted provided that the following conditions are met:
# #
# * Redistributions of source code must retain the above copyright notice, # * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer. # this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright # * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the # notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution. # documentation and/or other materials provided with the distribution.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@ -42,7 +42,7 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
@ -60,7 +60,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -80,7 +80,7 @@ sed -i "s:Categories=GTK;Utility;Science;Chemistry;:Categories=Education;:" data
# Increase the info button size # Increase the info button size
sed -i "s:set_size_request (50, 50):set_size_request (64, 64):" src/buttons.cc sed -i "s:set_size_request (50, 50):set_size_request (64, 64):" src/buttons.cc
# Starting with glib 2.32 it is now mandatory to # Starting with glib 2.32 it is now mandatory to
# include glib.h instead of individual headers. # include glib.h instead of individual headers.
patch -p1 -i $CWD/glib-single-include.patch patch -p1 -i $CWD/glib-single-include.patch

View File

@ -20,7 +20,7 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
PRGNAM=genius PRGNAM=genius
VERSION=${VERSION:-1.0.17} VERSION=${VERSION:-1.0.17}

View File

@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=genpak PRGNAM=genpak
VERSION=${VERSION:-0.26} VERSION=${VERSION:-0.26}
BUILD=${BUILD:-4} BUILD=${BUILD:-4}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -36,9 +36,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"

View File

@ -85,7 +85,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
gzip -c -9 $PRGNAM-1 > $PRGNAM.info-1.gz gzip -c -9 $PRGNAM-1 > $PRGNAM.info-1.gz
gzip -c -9 $PRGNAM-2 > $PRGNAM.info-2.gz gzip -c -9 $PRGNAM-2 > $PRGNAM.info-2.gz
rm -fr dir figs $PRGNAM-* $PRGNAM ) rm -fr dir figs $PRGNAM-* $PRGNAM )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
doc/figs doc/*.txt doc/*.c doc/*.tcl doc/README* doc/*.gvplot doc/oogltour* \ doc/figs doc/*.txt doc/*.c doc/*.tcl doc/README* doc/*.gvplot doc/oogltour* \

View File

@ -9,12 +9,10 @@ VERSION=2.1.8
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -1,21 +1,21 @@
#!/bin/sh #!/bin/sh
# Slackware build script for gp2fasta # Slackware build script for gp2fasta
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# The icon used by the gp2fasta.desktop file is taken from # The icon used by the gp2fasta.desktop file is taken from
# http://kde-look.org/content/show.php/Fasta+icons?content=54012 # http://kde-look.org/content/show.php/Fasta+icons?content=54012
# Author is Luis-Miguel Rodriguez. Thank you! # Author is Luis-Miguel Rodriguez. Thank you!
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=gp2fasta PRGNAM=gp2fasta
VERSION=${VERSION:-0.2} VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -86,7 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Menu item and icon # Menu item and icon
mkdir -p $PKG/usr/share/{applications,pixmaps} mkdir -p $PKG/usr/share/{applications,pixmaps}
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/ cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -104,7 +104,7 @@ cp -a CHANGES ChangeLog README DEVELOPERS LICENSE \
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/lib${LIBDIRSUFFIX}/xmgrace # now make the compat symlink ( cd $PKG/usr/lib${LIBDIRSUFFIX}/xmgrace # now make the compat symlink
ln -s ../../doc/$PRGNAM-$VERSION doc ln -s ../../doc/$PRGNAM-$VERSION doc
) )
# We're going to leave the man pages where they are, since grace (might|does) # We're going to leave the man pages where they are, since grace (might|does)

View File

@ -8,12 +8,10 @@ VERSION=${VERSION:-0.0.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -1,17 +1,17 @@
#!/bin/sh #!/bin/sh
# Slackware build script for isoelectric-point # Slackware build script for isoelectric-point
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=isoelectric-point PRGNAM=isoelectric-point
VERSION=${VERSION:-1.0} VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -80,7 +80,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Menu item and icon # Menu item and icon
mkdir -p $PKG/usr/share/{applications,pixmaps} mkdir -p $PKG/usr/share/{applications,pixmaps}
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
cp ./icons/ip_64.png $PKG/usr/share/pixmaps/isoelectric-point.png cp ./icons/ip_64.png $PKG/usr/share/pixmaps/isoelectric-point.png
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -51,7 +51,7 @@ find -L . \
if [[ "$RUBY" = "YES" ]]; then if [[ "$RUBY" = "YES" ]]; then
MYRARCH=$(ruby -e 'print RbConfig::CONFIG["arch"]') MYRARCH=$(ruby -e 'print RbConfig::CONFIG["arch"]')
fi fi
# This fixes ruby bindings build, BINDIR, # This fixes ruby bindings build, BINDIR,
sed -i \ sed -i \
-e "s|require\ \"rbconfig\";\ print\ |print Rb|" \ -e "s|require\ \"rbconfig\";\ print\ |print Rb|" \
-e "s|RUBYDIR)|RUBYDIR) -I/usr/include/ruby-1.9.1/${MYRARCH}|" \ -e "s|RUBYDIR)|RUBYDIR) -I/usr/include/ruby-1.9.1/${MYRARCH}|" \

View File

@ -25,18 +25,18 @@
# With help from the jalview PKGBUILD at Arch linux AUR: # With help from the jalview PKGBUILD at Arch linux AUR:
# https://aur.archlinux.org/packages/jalview/ # https://aur.archlinux.org/packages/jalview/
PRGNAM=jalview PRGNAM=jalview
VERSION=${VERSION:-2.8} VERSION=${VERSION:-2.8}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCNAM=install.bin SRCNAM=install.bin
ARCH=noarch ARCH=noarch
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e

View File

@ -25,12 +25,10 @@ VERSION=${VERSION:-1.4.1_03}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -57,10 +55,10 @@ fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/opt/$PRGNAM-$VERSION mkdir -p $PKG/opt/$PRGNAM-$VERSION
unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION
# Add a convenience symlink to keep path simple # Add a convenience symlink to keep path simple
( cd $PKG/opt ; ln -s $PRGNAM-$VERSION $PRGNAM ) ( cd $PKG/opt ; ln -s $PRGNAM-$VERSION $PRGNAM )
@ -76,8 +74,8 @@ rm -rf $PKG/opt/$PRGNAM-$VERSION/{META-INF,installer,add-ons/windows}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION
for doc in \ for doc in \
COPYING.txt quickstart.html readme.html api-doc help-files add-ons ; COPYING.txt quickstart.html readme.html api-doc help-files add-ons ;
do ln -s $PKG/opt/$PRGNAM-$VERSION/$doc . ; do ln -s $PKG/opt/$PRGNAM-$VERSION/$doc . ;
done done
) )

View File

@ -12,7 +12,7 @@ TAG=${TAG:-_SBo}
ARCH=noarch ARCH=noarch
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}

View File

@ -27,12 +27,10 @@ VERSION=2009_11A
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -24,10 +24,10 @@
# Thanks to Niels Horn for correcting the CFLAGS. # Thanks to Niels Horn for correcting the CFLAGS.
PRGNAM=lalnview PRGNAM=lalnview
VERSION=${VERSION:-3.0} VERSION=${VERSION:-3.0}
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -40,7 +40,7 @@ fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"

View File

@ -5,24 +5,22 @@
# Written by Pablo Santamaría (pablosantamaria@gmail.com) # Written by Pablo Santamaría (pablosantamaria@gmail.com)
PRGNAM=lapack95 PRGNAM=lapack95
VERSION=${VERSION:-3.0} VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -38,7 +36,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -56,14 +54,14 @@ find . \
# Copy the pre-configured make.inc file but put in the correct LIBDIR # Copy the pre-configured make.inc file but put in the correct LIBDIR
sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%" $CWD/make.inc > make.inc sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%" $CWD/make.inc > make.inc
# Make single and double precision, complex and double complex # Make single and double precision, complex and double complex
# static library. # static library.
cd SRC cd SRC
make -j1 clean make -j1 clean
make -j1 OPTS0="$SLKCFLAGS" single_double_complex_dcomplex make -j1 OPTS0="$SLKCFLAGS" single_double_complex_dcomplex
cd .. cd ..
# Install lib # Install lib
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
cp $PRGNAM.a $PKG/usr/lib${LIBDIRSUFFIX}/lib$PRGNAM.a cp $PRGNAM.a $PKG/usr/lib${LIBDIRSUFFIX}/lib$PRGNAM.a

View File

@ -37,7 +37,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -62,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \ --disable-static \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mrbayes PRGNAM=mrbayes
VERSION=${VERSION:-3.2.1} VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}

View File

@ -1,17 +1,17 @@
#!/bin/sh #!/bin/sh
# Slackware build script for muscle # Slackware build script for muscle
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=muscle PRGNAM=muscle
VERSION=${VERSION:-3.8.31} VERSION=${VERSION:-3.8.31}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -24,7 +24,7 @@ fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ncbi-blast PRGNAM=ncbi-blast
VERSION=${VERSION:-2.2.26} VERSION=${VERSION:-2.2.26}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}

View File

@ -36,7 +36,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -22,17 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perlprimer PRGNAM=perlprimer
VERSION=${VERSION:-1.1.21} VERSION=${VERSION:-1.1.21}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
ARCH=noarch ARCH=noarch
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e

View File

@ -84,10 +84,10 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DOC=$WITH_DOC \ -DWITH_DOC=$WITH_DOC \
.. ..
make VERBOSE=1 make VERBOSE=1
make install VERBOSE=1 DESTDIR=$PKG make install VERBOSE=1 DESTDIR=$PKG
cd .. cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -22,17 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=plasmidomics PRGNAM=plasmidomics
VERSION=${VERSION:-0.2} VERSION=${VERSION:-0.2}
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
ARCH=noarch ARCH=noarch
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e

View File

@ -79,7 +79,7 @@ cd build
-DMAN_INSTALL_DIR=/usr/man/man1 \ -DMAN_INSTALL_DIR=/usr/man/man1 \
-DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \ -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release .. -DCMAKE_BUILD_TYPE=Release ..
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
cd .. cd ..

View File

@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -38,7 +36,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -10,12 +10,10 @@ VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -40,7 +38,7 @@ else
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -26,7 +26,7 @@ SAGEROOT=${SAGEROOT:-/opt/sage}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar tar xvf $CWD/$PRGNAM-$VERSION.tar
@ -37,7 +37,7 @@ find -L . \
-exec chmod 755 {} \; -o \ -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d $PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d
make make
@ -45,7 +45,7 @@ make
# test all examples in the documentation (over 93,000 line of input) # test all examples in the documentation (over 93,000 line of input)
[ "${TEST:-no}" = "yes" ] && make test [ "${TEST:-no}" = "yes" ] && make test
# build the pdf version of the documentation # build the pdf version of the documentation
# (Note: this requires a LaTeX installation) # (Note: this requires a LaTeX installation)
if [ "${PDFDOC:-no}" = "yes" ]; then if [ "${PDFDOC:-no}" = "yes" ]; then
./sage -docbuild all pdf ./sage -docbuild all pdf
@ -66,8 +66,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Sage installs specific versions of a number of software components which # Sage installs specific versions of a number of software components which
# may be different from the system-wide versions of those components. For # may be different from the system-wide versions of those components. For
# this reason, the man and info pages are not moved to /usr/man and # this reason, the man and info pages are not moved to /usr/man and
# /usr/info. To avoid possible conflicts, they are compressed in place. # /usr/info. To avoid possible conflicts, they are compressed in place.
find $PKG/$SAGEROOT/local/man -type f -exec gzip -9 {} \; find $PKG/$SAGEROOT/local/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/$SAGEROOT/local/man -type l ) ; do for i in $( find $PKG/$SAGEROOT/local/man -type l ) ; do
@ -84,8 +84,8 @@ sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.sh > $PKG/etc/profile.d/sage.s
sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.csh > $PKG/etc/profile.d/sage.csh sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.csh > $PKG/etc/profile.d/sage.csh
chmod 0755 $PKG/etc/profile.d/* chmod 0755 $PKG/etc/profile.d/*
# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, # install scripts to SAGEROOT/bin that allow the internal sage versions of: gap,
# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently # gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently
# and add SAGEROOT/bin to the PATH # and add SAGEROOT/bin to the PATH
if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then
mkdir $PKG$SAGEROOT/bin mkdir $PKG$SAGEROOT/bin

View File

@ -1,23 +1,23 @@
#!/bin/sh #!/bin/sh
# Slackware build script for sequence-analysis # Slackware build script for sequence-analysis
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=sequence-analysis PRGNAM=sequence-analysis
VERSION=${VERSION:-1.6.0} VERSION=${VERSION:-1.6.0}
ARCH=noarch ARCH=noarch
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e

View File

@ -11,12 +11,10 @@ TAG=${TAG:-_SBo}
SRCVERSION=${VERSION}-4 SRCVERSION=${VERSION}-4
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -40,7 +38,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -60,10 +58,10 @@ v1=$(echo $VERSION | cut -d. -f1)
v2=$VERSION v2=$VERSION
make MA_N=${v1} MI_N=${v2} OPT="$SLKCFLAGS -std=legacy" F77="gfortran" CC="gcc" make MA_N=${v1} MI_N=${v2} OPT="$SLKCFLAGS -std=legacy" F77="gfortran" CC="gcc"
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
cp -a libslatec.a $PKG/usr/lib${LIBDIRSUFFIX} cp -a libslatec.a $PKG/usr/lib${LIBDIRSUFFIX}
cp -a libslatec.so.$v2 $PKG/usr/lib${LIBDIRSUFFIX} cp -a libslatec.so.$v2 $PKG/usr/lib${LIBDIRSUFFIX}
( cd $PKG/usr/lib${LIBDIRSUFFIX} ( cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -s libslatec.so.$v2 libslatec.so.$v1 ln -s libslatec.so.$v2 libslatec.so.$v1
ln -s libslatec.so.$v2 libslatec.so ln -s libslatec.so.$v2 libslatec.so
) )

View File

@ -8,12 +8,10 @@ VERSION=${VERSION:-3.22.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -1,19 +1,19 @@
#!/bin/sh #!/bin/sh
# Slackware build script for spidey # Slackware build script for spidey
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain # hereby submitted to the public domain
# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING # THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=spidey PRGNAM=spidey
VERSION=${VERSION:-20060601} VERSION=${VERSION:-20060601}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
ARCH=i386 ARCH=i386
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}

View File

@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=staden PRGNAM=staden
VERSION=${VERSION:-2.0.0b9} VERSION=${VERSION:-2.0.0b9}
BUILD=${BUILD:-3} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in

View File

@ -9,12 +9,10 @@ VERSION=${VERSION:-4.0.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -58,7 +56,7 @@ for lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMO
make -C $lib library CFLAGS="$SLKCFLAGS -DNPARTITION" make -C $lib library CFLAGS="$SLKCFLAGS -DNPARTITION"
done done
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/include/suitesparse mkdir -p $PKG/usr/include/suitesparse
for lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR RBio; do for lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR RBio; do
make -C $lib INSTALL_LIB="$PKG/usr/lib$LIBDIRSUFFIX" INSTALL_INCLUDE="$PKG/usr/include/suitesparse" install make -C $lib INSTALL_LIB="$PKG/usr/lib$LIBDIRSUFFIX" INSTALL_INCLUDE="$PKG/usr/include/suitesparse" install

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=t_coffee PRGNAM=t_coffee
VERSION=${VERSION:-9.03.r1318} VERSION=${VERSION:-9.03.r1318}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}

View File

@ -25,12 +25,10 @@ VERSION=0.973
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -54,7 +52,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -74,7 +74,7 @@ find -L . \
# This adds -lm to the linker flags - comes from revision 661 # This adds -lm to the linker flags - comes from revision 661
patch -p1 < $CWD/patches/add_-lm_to_libs_r661.patch patch -p1 < $CWD/patches/add_-lm_to_libs_r661.patch
# Fix a sprintf error on 64-bit - comes from # Fix a sprintf error on 64-bit - comes from
# http://svn.calcforge.org/viewvc/repo-specfiles/fedora/tilem/tilem-2.0-64bit.patch # http://svn.calcforge.org/viewvc/repo-specfiles/fedora/tilem/tilem-2.0-64bit.patch
patch -p1 < $CWD/patches/tilem-2.0-64bit.patch patch -p1 < $CWD/patches/tilem-2.0-64bit.patch

View File

@ -71,7 +71,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Disable SVG support. If you want it, you should build # Disable SVG support. If you want it, you should build
# wxGTK or wxPython including svg from contrib/src/svg # wxGTK or wxPython including svg from contrib/src/svg
# Then, of course comment the next line. # Then, of course comment the next line.
sed "s:USE_SVG=1:USE_SVG=0:" -i configure sed "s:USE_SVG=1:USE_SVG=0:" -i configure

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ugene PRGNAM=ugene
VERSION=${VERSION:-1.11.5} VERSION=${VERSION:-1.11.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}

View File

@ -3,7 +3,7 @@
#Slackware build script for Icarus Verilog compiler #Slackware build script for Icarus Verilog compiler
#Written by Stephen Van Berg stephen_van_berg@earlicker.com. #Written by Stephen Van Berg stephen_van_berg@earlicker.com.
PRGNAM=verilog PRGNAM=verilog
VERSION=${VERSION:-0.9.7} VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -17,9 +17,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"

View File

@ -2,7 +2,7 @@
# Slackware build script for wxmacmolplt # Slackware build script for wxmacmolplt
# Copyright 2012 Daniil Bratashov <dn2010@gmail.com> # Copyright 2012 Daniil Bratashov <dn2010@gmail.com>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is

View File

@ -81,8 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc \ --docdir=/usr/doc \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
( cd $PKG/usr/man ( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \; find . -type f -exec gzip -9 {} \;

View File

@ -12,7 +12,7 @@ TAG=${TAG:-_SBo}
ARCH=i486 # hardcoded for 32bit ARCH=i486 # hardcoded for 32bit
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}

View File

@ -3,7 +3,7 @@
# Written by Felix Pfeifer, revision date 2010/07/31 # Written by Felix Pfeifer, revision date 2010/07/31
# contact: pfeifer[dot]felix[at]googlemail[dot]com # contact: pfeifer[dot]felix[at]googlemail[dot]com
# Modified by the SlackBuilds.org project. # Modified by the SlackBuilds.org project.
PRGNAM=Pd-extended PRGNAM=Pd-extended
VERSION=0.43.4 VERSION=0.43.4
@ -83,7 +83,7 @@ cd packages/linux_make
libdir="/usr/lib$LIBDIRSUFFIX" \ libdir="/usr/lib$LIBDIRSUFFIX" \
mandir="/usr/man" \ mandir="/usr/man" \
DOC_TARGETS="media messageoddness pd_fileformat pd-msg pddp tutorials" \ DOC_TARGETS="media messageoddness pd_fileformat pd-msg pddp tutorials" \
DESTDIR=$PKG DESTDIR=$PKG
cd ../.. cd ../..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@ -102,7 +102,7 @@ if [ "$ARCH" = "x86_64" ]; then
chmod 755 $PKG/usr/bin/pdextended64 chmod 755 $PKG/usr/bin/pdextended64
fi fi
# Seems Pd developers can't make their mind up how they want to be called, # Seems Pd developers can't make their mind up how they want to be called,
# (Pd/pd or Pd/pd-extended), so we're hardcoding the files here. # (Pd/pd or Pd/pd-extended), so we're hardcoding the files here.
mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps $PKG/usr/share/mime/packages mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps $PKG/usr/share/mime/packages
sed "s|^Exec.*|Exec=/usr/lib$LIBDIRSUFFIX/pd-extended/tcl/pd-gui.tcl %F|" \ sed "s|^Exec.*|Exec=/usr/lib$LIBDIRSUFFIX/pd-extended/tcl/pd-gui.tcl %F|" \

View File

@ -84,7 +84,7 @@ cd build
-DSC_WII="$cwiid" \ -DSC_WII="$cwiid" \
-DSC_ED="2" \ -DSC_ED="2" \
-DCMAKE_BUILD_TYPE=Release .. -DCMAKE_BUILD_TYPE=Release ..
make make
make install/strip DESTDIR=$PKG make install/strip DESTDIR=$PKG
cd - cd -

View File

@ -27,12 +27,10 @@ VERSION=0.7.4
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -2,7 +2,7 @@
# Slackware build script for abcde # Slackware build script for abcde
# abcde has a dependency of cd-discid, see the README # abcde has a dependency of cd-discid, see the README
# Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> # Copyright 2007 Jim Capozzoli <saltmiser@gmail.com>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -31,12 +31,10 @@ VERSION=2.5.4
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -48,7 +46,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP cd $TMP
@ -65,11 +63,11 @@ chmod -R u+w,go+r-w,a-s .
# likes to test a script as normal user before running it as root, and the # likes to test a script as normal user before running it as root, and the
# ownership setting in the Makefile will break installs as a normal user. # ownership setting in the Makefile will break installs as a normal user.
# --rworkman # --rworkman
patch -p1 < $CWD/Makefile.diff patch -p1 < $CWD/Makefile.diff
# fix to mailx call: the command was using the -a option which, in Slackware's # fix to mailx call: the command was using the -a option which, in Slackware's
# mailx, means something different than what was intended here (intent here is # mailx, means something different than what was intended here (intent here is
# to set content type to UTF-8. In Slackware the -a is unnecessary. Thanks to # to set content type to UTF-8. In Slackware the -a is unnecessary. Thanks to
# Andreas Vogele for this patch. --gbecker # Andreas Vogele for this patch. --gbecker
patch -p1 < $CWD/cddb-tool.diff patch -p1 < $CWD/cddb-tool.diff

View File

@ -27,12 +27,10 @@ VERSION=0.0.8
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -56,7 +54,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then
esac esac
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}

View File

@ -72,7 +72,7 @@ find . \
# Check for Avahi # Check for Avahi
if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable" ; fi if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable" ; fi
# Starting with glib 2.32 it is now mandatory to # Starting with glib 2.32 it is now mandatory to
# include glib.h instead of individual headers. # include glib.h instead of individual headers.
patch -p1 -i $CWD/glib-single-include.patch patch -p1 -i $CWD/glib-single-include.patch

View File

@ -27,12 +27,10 @@ VERSION=${VERSION:-0.1.12}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -2,7 +2,7 @@
# Slackware build script for cd-discid # Slackware build script for cd-discid
# Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> # Copyright 2007 Jim Capozzoli <saltmiser@gmail.com>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -29,12 +29,10 @@ VERSION=1.3.1
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -69,7 +67,7 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s . chmod -R u+w,go+r-w,a-s .
# Apply a patch to Makefile to fix mandir and prevent setting ownership during # Apply a patch to Makefile to fix mandir and prevent setting ownership during
# the install. The mandir could easily be done by passing the 'mandir' # the install. The mandir could easily be done by passing the 'mandir'
# variable to 'make install' but the ownership setting can't be omitted any # variable to 'make install' but the ownership setting can't be omitted any
# other way. This isn't a huge issue, but I'm probably not the only one who # other way. This isn't a huge issue, but I'm probably not the only one who
# likes to test scripts as a normal user before running them as root, and the # likes to test scripts as a normal user before running them as root, and the

View File

@ -29,12 +29,10 @@ VERSION=0.5.1.3
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}

View File

@ -9,12 +9,10 @@ VERSION=${VERSION:-0.0.11}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -9,12 +9,10 @@ VERSION=${VERSION:-0.99.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -38,7 +36,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -27,12 +27,10 @@ VERSION=0.4.1
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -27,12 +27,10 @@ VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -56,7 +54,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}

View File

@ -27,7 +27,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -30,12 +30,10 @@ VERSION=0.6.14
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -30,12 +30,10 @@ VERSION=${VERSION:-1.28}
BUILD=${BUILD:-3} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -27,12 +27,10 @@ VERSION=${VERSION:-2.7}
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -32,7 +32,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -22,17 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flac123 PRGNAM=flac123
VERSION=0.0.11 VERSION=0.0.11
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi

View File

@ -6,7 +6,7 @@
PRGNAM=gimmix PRGNAM=gimmix
VERSION=0.5.7.1 VERSION=0.5.7.1
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -53,7 +53,7 @@ find . \
# Fix curl includes. # Fix curl includes.
patch -p1 -i $CWD/gimmix-0.5.7.1-curl-headers.patch patch -p1 -i $CWD/gimmix-0.5.7.1-curl-headers.patch
# Replace "enable" with "disable" -cover and -lyrics if you do not # Replace "enable" with "disable" -cover and -lyrics if you do not
# want to have built in plugins for cover and lyrics fetching. # want to have built in plugins for cover and lyrics fetching.
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Slackware build script for gmusicbrowser # Slackware build script for gmusicbrowser
# (C) 2007 Michael Wagner <lapinours@web.de> # (C) 2007 Michael Wagner <lapinours@web.de>

View File

@ -24,19 +24,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
PRGNAM=gnump3d PRGNAM=gnump3d
VERSION=3.0 VERSION=3.0
BUILD=${BUILD:-3} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -59,7 +57,7 @@ else
SLKCFLAGS="-O2" SLKCFLAGS="-O2"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
# gnump3d gets the library directory from a short perl script in the # gnump3d gets the library directory from a short perl script in the
# source directory, thus, there's no need to specify a suffix in this # source directory, thus, there's no need to specify a suffix in this
# script. # script.
@ -74,7 +72,7 @@ cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod -R u+w,go+r-w,a-s . chmod -R u+w,go+r-w,a-s .
make make
make install \ make install \
PREFIX=$PKG \ PREFIX=$PKG \
MANDIR=/usr/man/man1 MANDIR=/usr/man/man1

View File

@ -51,10 +51,10 @@ if [ -r /usr/include/cdda/cdda_interface.h ]; then
fi fi
# Patch to use system-installed cdparanoia libs: # Patch to use system-installed cdparanoia libs:
patch -p1 --verbose < $CWD/patches/system_cdparanoia_libs.diff patch -p1 --verbose < $CWD/patches/system_cdparanoia_libs.diff
# Patch to fix a compile issue with threads (probably came from gentoo): # Patch to fix a compile issue with threads (probably came from gentoo):
patch -p1 --verbose < $CWD/patches/grip2-nptl.diff patch -p1 --verbose < $CWD/patches/grip2-nptl.diff
# Patch to install binaries/manpages as grip2 and gcd2 (so as not to conflict # Patch to install binaries/manpages as grip2 and gcd2 (so as not to conflict
# with the grip 3.x package). # with the grip 3.x package).

View File

@ -32,7 +32,7 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
@ -85,7 +85,7 @@ fi
--ladspadir="/usr/lib${LIBDIRSUFFIX}/ladspa/" \ --ladspadir="/usr/lib${LIBDIRSUFFIX}/ladspa/" \
$LV2OPT $LV2OPT
./waf build ./waf build
./waf install --destdir=$PKG ./waf install --destdir=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Slackware build script for GVolWheel # Slackware build script for GVolWheel
# Copyright 2012 Bojan Popovic, Belgrade, Serbia <bocke@slackware-srbija.org> # Copyright 2012 Bojan Popovic, Belgrade, Serbia <bocke@slackware-srbija.org>
# All rights reserved. # All rights reserved.
@ -25,7 +25,7 @@
PRGNAM=gvolwheel PRGNAM=gvolwheel
VERSION=${VERSION:-1.0} VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -36,9 +36,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -55,11 +55,11 @@ else
fi fi
# The package is compiled without OSS support by default to avoid # The package is compiled without OSS support by default to avoid
# auto-detection of ALSA OSS compatibility libs. 0.7 seemed to have # auto-detection of ALSA OSS compatibility libs. 0.7 seemed to have
# problems with this, so it's better to be on the safe side. # problems with this, so it's better to be on the safe side.
OSS=${OSS:-no} OSS=${OSS:-no}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -91,7 +91,7 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Configure will ignore passed --docdir option, so correct docdir manually. # Configure will ignore passed --docdir option, so correct docdir manually.
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -8,12 +8,10 @@ VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -27,10 +25,10 @@ OUTPUT=${OUTPUT:-/tmp}
# Experimental Patches # # Experimental Patches #
# #
# I have found these to be stable on my systems, # I have found these to be stable on my systems,
# and they might be included in future upstream # and they might be included in future upstream
# sources, but for now you use these at your own risk. # sources, but for now you use these at your own risk.
# #
# Please read README.SBo for more information on the # Please read README.SBo for more information on the
# functionality that these patches add. # functionality that these patches add.
AUTOQUIT=${AUTOQUIT:-NO} AUTOQUIT=${AUTOQUIT:-NO}
SIGNALS=${SIGNALS:-NO} SIGNALS=${SIGNALS:-NO}

View File

@ -11,12 +11,10 @@ VERSION=${VERSION:-2.3.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -40,7 +38,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

Some files were not shown because too many files have changed in this diff Show More