libraries/libopenraw: Updated for version 0.0.8

This commit is contained in:
Michiel van Wessem 2010-05-13 00:31:30 +02:00 committed by David Somero
parent 0ff7611498
commit fc4191c267
4 changed files with 31 additions and 8 deletions

View file

@ -6,6 +6,3 @@ build free software digital image processing application.
It also has the goal to address missing feature from dcraw
like meta-data decoding and easy thumbnail extraction.
libopenraw requires boost (a SlackBuild script is available at
SlackBuilds.org)

View file

@ -0,0 +1,24 @@
#!/bin/sh
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/$PRGNAM.conf.new
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database -q usr/share/applications
fi
if [ -x usr/bin/update-mime-database ]; then
usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

View file

@ -27,7 +27,7 @@
set -e
PRGNAM=libopenraw
VERSION=${VERSION:-0.0.7}
VERSION=${VERSION:-0.0.8}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -88,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="libopenraw"
VERSION="0.0.7"
VERSION="0.0.8"
HOMEPAGE="http://libopenraw.freedesktop.org/wiki"
DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.0.7.tar.gz"
MD5SUM="fe3a27b120df07b1184132624cf4bcd1"
DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.0.8.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM="fc26f146586a4b601326130bce6ffd88"
MD5SUM_x86_64=""
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
APPROVED="dsomero"