diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-06-12 05:13:07 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-12 07:47:27 -0500 |
commit | d4cd3d98c23ea4f341d0c5119b24afe9dc988a23 (patch) | |
tree | 68b8fe16468cd0e84356e914ad656742b97148ac /libraries/yaz/yaz.SlackBuild | |
parent | fab228aa492de95000f2fa7d85bf0c8560fc8757 (diff) |
libraries/yaz: Updated for version 4.0.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/yaz/yaz.SlackBuild')
-rw-r--r-- | libraries/yaz/yaz.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libraries/yaz/yaz.SlackBuild b/libraries/yaz/yaz.SlackBuild index c28f7053e66ac..79c52f8b0a0f3 100644 --- a/libraries/yaz/yaz.SlackBuild +++ b/libraries/yaz/yaz.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # SlackBuild script for yaz + # Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # @@ -24,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yaz -VERSION=${VERSION:-4.0.2} +VERSION=${VERSION:-4.0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,8 +58,8 @@ else LIBDIRSUFFIX="" fi -# Exit on most errors -set -e +set -e # Exit on most errors + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -80,16 +81,13 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ - --disable-debug \ --build=$ARCH-slackware-linux make 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 -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/yaz $PKG/usr/doc/$PRGNAM-$VERSION/html |