summaryrefslogtreecommitdiffstats
path: root/libraries/libopenraw
diff options
context:
space:
mode:
author Michiel van Wessem2010-05-13 00:31:30 +0200
committer David Somero2010-05-13 00:31:30 +0200
commitfc4191c267018099130985abf6c895ed83cf8881 (patch)
tree911ad6a4198ba414e0dbf512a1b1a2f4e0bcd08b /libraries/libopenraw
parent0ff7611498057ccf5849f2985fc0bf43cb65b984 (diff)
downloadslackbuilds-fc4191c267018099130985abf6c895ed83cf8881.tar.gz
libraries/libopenraw: Updated for version 0.0.8
Diffstat (limited to 'libraries/libopenraw')
-rw-r--r--libraries/libopenraw/README3
-rw-r--r--libraries/libopenraw/doinst.sh24
-rw-r--r--libraries/libopenraw/libopenraw.SlackBuild4
-rw-r--r--libraries/libopenraw/libopenraw.info8
4 files changed, 31 insertions, 8 deletions
diff --git a/libraries/libopenraw/README b/libraries/libopenraw/README
index 5c5834428b..97b4cb9069 100644
--- a/libraries/libopenraw/README
+++ b/libraries/libopenraw/README
@@ -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)
diff --git a/libraries/libopenraw/doinst.sh b/libraries/libopenraw/doinst.sh
new file mode 100644
index 0000000000..234ad26971
--- /dev/null
+++ b/libraries/libopenraw/doinst.sh
@@ -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
diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild
index 1958e3a0ad..5df2ab3686 100644
--- a/libraries/libopenraw/libopenraw.SlackBuild
+++ b/libraries/libopenraw/libopenraw.SlackBuild
@@ -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}
diff --git a/libraries/libopenraw/libopenraw.info b/libraries/libopenraw/libopenraw.info
index 2c6e9029fa..94ef74cdd9 100644
--- a/libraries/libopenraw/libopenraw.info
+++ b/libraries/libopenraw/libopenraw.info
@@ -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"