From 39c4dafcd9ea8c5f51d1e307f286762c9d8b8fe5 Mon Sep 17 00:00:00 2001 From: Michiel van Wessem Date: Thu, 8 Apr 2010 22:28:04 -0400 Subject: libraries/yaz: Updated for version 4.0.2. --- libraries/yaz/yaz.SlackBuild | 16 +++++++++------- libraries/yaz/yaz.info | 9 +++++---- 2 files changed, 14 insertions(+), 11 deletions(-) (limited to 'libraries') diff --git a/libraries/yaz/yaz.SlackBuild b/libraries/yaz/yaz.SlackBuild index c78e0086cb..43619f558b 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 diff --git a/libraries/yaz/yaz.info b/libraries/yaz/yaz.info index bd93f18d5d..9ff9fd79a8 100644 --- a/libraries/yaz/yaz.info +++ b/libraries/yaz/yaz.info @@ -1,10 +1,11 @@ PRGNAM="yaz" -VERSION="3.0.52" +VERSION="4.0.2" HOMEPAGE="http://www.indexdata.dk/yaz/" -DOWNLOAD="http://ftp.indexdata.dk/pub/yaz/yaz-3.0.52.tar.gz" +DOWNLOAD="http://ftp.indexdata.dk/pub/yaz/yaz-4.0.2.tar.gz" +MD5SUM="917353aa9fe9a7a200a798cdceeb36bd" DOWNLOAD_x86_64="" -MD5SUM="d6fcac6b3a9917ab8e8efe8025f2cdbd" MD5SUM_x86_64="" MAINTAINER="Michiel van Wessem" EMAIL="michiel@slackbuilds.org" -APPROVED="Erik Hanson" +APPROVED="dsomero" + -- cgit v1.2.3