diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:45:28 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 19:45:28 +0200 |
commit | ec4f1db90a0af1ae4e40ea7a318ee0a386ee76a1 (patch) | |
tree | 53ad6379c838b04b906b085d52441757ec2da0ca /libraries/yaz/yaz.SlackBuild | |
parent | 70c3c4891269287092b471fbb39f81983cca93d2 (diff) |
libraries/yaz: Updated for version 3.0.26
Diffstat (limited to 'libraries/yaz/yaz.SlackBuild')
-rw-r--r-- | libraries/yaz/yaz.SlackBuild | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/libraries/yaz/yaz.SlackBuild b/libraries/yaz/yaz.SlackBuild index ae0e354a3641a..2100a9c62453f 100644 --- a/libraries/yaz/yaz.SlackBuild +++ b/libraries/yaz/yaz.SlackBuild @@ -1,21 +1,42 @@ #!/bin/sh # SlackBuild script for yaz -# Written by Michiel van Wessem (BP{k}) <michiel.van.wessem@gmail.com -# Modified by the SlackBuilds.org project - -set -e +# Written by Michiel van Wessem (BP{k}) <michiel@slackbuilds.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yaz -VERSION=2.1.54 +VERSION=3.0.26 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -ARCH=${ARCH:-i486} OUTPUT=${OUTPUT:-/tmp} +# Exit on most errors +set -e + DOCFILES="LICENSE NEWS README TODO ChangeLog" if [ "$ARCH" = "i486" ]; then @@ -24,11 +45,13 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP -tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -48,7 +71,7 @@ make install-strip DESTDIR=$PKG ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |