summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-12 17:40:09 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:40:09 +0200
commit32500203ad83a0d0e852a5406d194f7f1e8b015c (patch)
tree6d19d64072b0bd7f54b785aa03811bff605c07ac /graphics
parentf706d6475ccf0d6813050bf584e3591d4c0d5ca8 (diff)
downloadslackbuilds-32500203ad83a0d0e852a5406d194f7f1e8b015c.tar.gz
graphics/ufraw: Updated for version 0.15
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ufraw/doinst.sh3
-rw-r--r--graphics/ufraw/ufraw.SlackBuild15
-rw-r--r--graphics/ufraw/ufraw.info8
3 files changed, 17 insertions, 9 deletions
diff --git a/graphics/ufraw/doinst.sh b/graphics/ufraw/doinst.sh
new file mode 100644
index 0000000000..3857649f50
--- /dev/null
+++ b/graphics/ufraw/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
+fi
diff --git a/graphics/ufraw/ufraw.SlackBuild b/graphics/ufraw/ufraw.SlackBuild
index b557b35b99..3b65ef359d 100644
--- a/graphics/ufraw/ufraw.SlackBuild
+++ b/graphics/ufraw/ufraw.SlackBuild
@@ -1,8 +1,6 @@
#!/bin/sh
-
# Slackware Package Build Script for UFRaw (Unidentified Flying Raw)
# Home Page http://ufraw.sourceforge.net/
-
# Copyright (c) 2007, Nishant Limbachia (nishant@mnspace.net)
# Copyright (c) 2007, Robby Workman <rworkman@slackbuilds.org>
# All rights reserved.
@@ -24,12 +22,15 @@
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+#Modified by SlackBuilds.org
PRGNAM=ufraw
-VERSION=0.13
+VERSION=0.15
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -39,6 +40,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors
@@ -62,13 +65,14 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --enable-mime
+ --enable-mime \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
@@ -87,6 +91,7 @@ cp -a COPYING MANIFEST README TODO $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/graphics/ufraw/ufraw.info b/graphics/ufraw/ufraw.info
index d46814cb67..e4ccb525b2 100644
--- a/graphics/ufraw/ufraw.info
+++ b/graphics/ufraw/ufraw.info
@@ -1,8 +1,8 @@
PRGNAM="ufraw"
-VERSION="0.13"
+VERSION="0.15"
HOMEPAGE="http://ufraw.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ufraw/ufraw-0.13.tar.gz"
-MD5SUM="6470f787a8f62f6e1642161e3c8d557b"
+DOWNLOAD="http://superb-east.dl.sourceforge.net/sourceforge/ufraw/ufraw-0.15.tar.gz"
+MD5SUM="6d8f6c98a388c438784cd909dd82d540"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="rworkman"
+APPROVED="dsomero"