summaryrefslogtreecommitdiffstats
path: root/graphics/fotoxx/fotoxx.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2012-09-07 05:42:13 +0200
committer Robby Workman2012-09-07 05:42:13 +0200
commit95a42bb00a3f94eb1f8397af88885e7c7060e69e (patch)
treeb1832bca580630c1a632e58c5f8a1c3c516f7716 /graphics/fotoxx/fotoxx.SlackBuild
parent670ec8ed890e32f649bee307dc5d5770bd42d853 (diff)
downloadslackbuilds-95a42bb00a3f94eb1f8397af88885e7c7060e69e.tar.gz
graphics/fotoxx: Updated for version 12.09.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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