summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-04-08 22:28:04 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:27:00 +0200
commit39c4dafcd9ea8c5f51d1e307f286762c9d8b8fe5 (patch)
tree6d00959d0d34275d9c17c0b6bd0fe2c0ede004b4
parent9191a0182da794e46dd484b2f1161247c38bace0 (diff)
downloadslackbuilds-39c4dafcd9ea8c5f51d1e307f286762c9d8b8fe5.tar.gz
libraries/yaz: Updated for version 4.0.2.
-rw-r--r--libraries/yaz/yaz.SlackBuild16
-rw-r--r--libraries/yaz/yaz.info9
2 files changed, 14 insertions, 11 deletions
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"
+