diff options
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 c78e0086cb39..43619f558b38 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 |