diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-04-08 22:28:04 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-15 10:27:00 +0200 |
commit | 39c4dafcd9ea8c5f51d1e307f286762c9d8b8fe5 (patch) | |
tree | 6d00959d0d34275d9c17c0b6bd0fe2c0ede004b4 /libraries/yaz/yaz.SlackBuild | |
parent | 9191a0182da794e46dd484b2f1161247c38bace0 (diff) |
libraries/yaz: Updated for version 4.0.2.
Diffstat (limited to 'libraries/yaz/yaz.SlackBuild')
-rw-r--r-- | libraries/yaz/yaz.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libraries/yaz/yaz.SlackBuild b/libraries/yaz/yaz.SlackBuild index c78e0086cb396..43619f558b381 100644 --- a/libraries/yaz/yaz.SlackBuild +++ b/libraries/yaz/yaz.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # SlackBuild script for yaz -# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yaz -VERSION=${VERSION:-3.0.52} +VERSION=${VERSION:-4.0.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,7 +59,7 @@ 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 {} \; + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -67,21 +67,23 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ - --mandir=/usr/man + --mandir=/usr/man \ + --disable-debug \ + --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +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 ) -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/yaz $PKG/usr/doc/$PRGNAM-$VERSION/html -rm -rf $PKG/usr/share/doc cp -a LICENSE NEWS README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -rf $PKG/usr/share/doc mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |