diff options
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 |