diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libopenraw/README | 3 | ||||
-rw-r--r-- | libraries/libopenraw/doinst.sh | 24 | ||||
-rw-r--r-- | libraries/libopenraw/libopenraw.SlackBuild | 4 | ||||
-rw-r--r-- | libraries/libopenraw/libopenraw.info | 8 |
4 files changed, 31 insertions, 8 deletions
diff --git a/libraries/libopenraw/README b/libraries/libopenraw/README index 5c5834428ba2..97b4cb906917 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 000000000000..234ad2697136 --- /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 1958e3a0adf1..5df2ab3686be 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 2c6e9029fa0c..94ef74cdd916 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" |