summaryrefslogtreecommitdiff
path: root/graphics/fotoxx/fotoxx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fotoxx/fotoxx.SlackBuild')
-rw-r--r--graphics/fotoxx/fotoxx.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/graphics/fotoxx/fotoxx.SlackBuild b/graphics/fotoxx/fotoxx.SlackBuild
index 83f9ea5984..881445630b 100644
--- a/graphics/fotoxx/fotoxx.SlackBuild
+++ b/graphics/fotoxx/fotoxx.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fotoxx
-# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2010-2012 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fotoxx
-VERSION=11.03.1
+VERSION=${VERSION:-12.09.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,19 +73,14 @@ find . \
printf "#!/bin/sh\n/bin/true\n" > dependencies.sh
# Install the "normal" stuff and manual page
-make install manpage \
- CXXFLAGS="$SLKCFLAGS" \
+make install \
+ CXXFLAGS="$SLKCFLAGS -Wno-deprecated-declarations" \
LDFLAGS="$SLKCFLAGS -Wall -rdynamic" \
PREFIX=/usr \
DOCDIR=/usr/doc/$PRGNAM-$VERSION \
MANDIR=/usr/man/man1 \
DESTDIR=$PKG
-# Install the .desktop file manually
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-cat $CWD/fotoxx.desktop > $PKG/usr/share/applications/fotoxx.desktop
-( cd $PKG/usr/share/pixmaps ; ln -s ../fotoxx/icons/fotoxx.png )
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true