From b000a52c3bb17eeac80933f4e4479a9c49db5dca Mon Sep 17 00:00:00 2001 From: Michiel van Wessem Date: Tue, 11 May 2010 22:24:28 +0200 Subject: libraries/yaz: Updated for version 3.0.36 --- libraries/yaz/yaz.SlackBuild | 22 ++++++++++------------ libraries/yaz/yaz.info | 8 ++++---- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/libraries/yaz/yaz.SlackBuild b/libraries/yaz/yaz.SlackBuild index 2100a9c62453f..7261c5ef4efc3 100644 --- a/libraries/yaz/yaz.SlackBuild +++ b/libraries/yaz/yaz.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # SlackBuild script for yaz -# Written by Michiel van Wessem (BP{k}) +# Copyright 2007-2008 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=3.0.26 +VERSION=${VERSION:-3.0.36} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,17 +34,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Exit on most errors -set -e - -DOCFILES="LICENSE NEWS README TODO ChangeLog" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +# Exit on most errors set -e rm -rf $PKG @@ -54,7 +50,11 @@ cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -62,8 +62,6 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ - --program-prefix="" \ - --program-suffix="" \ --disable-debug make @@ -75,11 +73,11 @@ make install-strip DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCFILES $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 TODO ChangeLog \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/yaz/yaz.info b/libraries/yaz/yaz.info index ce130ebd052ad..d5d273757de1b 100644 --- a/libraries/yaz/yaz.info +++ b/libraries/yaz/yaz.info @@ -1,8 +1,8 @@ PRGNAM="yaz" -VERSION="3.0.26" +VERSION="3.0.36" HOMEPAGE="http://www.indexdata.dk/yaz/" -DOWNLOAD="http://ftp.indexdata.dk/pub/yaz/yaz-3.0.26.tar.gz" -MD5SUM="2b06e2d930fa329ac806b0e14d5714c8" +DOWNLOAD="http://ftp.indexdata.dk/pub/yaz/yaz-3.0.36.tar.gz" +MD5SUM="e6aa0901bbd7eaa0a38e3d3650215c41" MAINTAINER="Michiel van Wessem" EMAIL="michiel@slackbuilds.org" -APPROVED="David Somero" +APPROVED="Erik Hanson" -- cgit v1.2.3