summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/fotoxx/fotoxx.SlackBuild42
-rw-r--r--graphics/fotoxx/fotoxx.info10
2 files changed, 40 insertions, 12 deletions
diff --git a/graphics/fotoxx/fotoxx.SlackBuild b/graphics/fotoxx/fotoxx.SlackBuild
index 488d45894a..5000136fcf 100644
--- a/graphics/fotoxx/fotoxx.SlackBuild
+++ b/graphics/fotoxx/fotoxx.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fotoxx
-# Copyright 2010-2014 Robby Workman, Northport, Alabama, USA
+# Copyright 2010-2016 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fotoxx
-VERSION=${VERSION:-14.01.1}
+VERSION=${VERSION:-16.01.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+MAPSRC=$PRGNAM-maps
+MAPVERS=${MAPVERS:-1.1}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -58,6 +61,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
+
+# Install fotoxx
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
@@ -69,18 +74,39 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# No thanks, we'll handle the deps
-printf "#!/bin/sh\n/bin/true\n" > dependencies.sh
-
-# Install the "normal" stuff and manual page
+make \
+ CPPFLAGS="$SLKCFLAGS" \
+ PREFIX=/usr \
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ MANDIR=/usr/man/man1
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 fotoxx-maps stuff
+cd $TMP
+rm -rf $MAPSRC-$MAPVERS
+tar xvf $CWD/$MAPSRC-$MAPVERS.tar.gz
+cd $MAPSRC-$MAPVERS
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make \
+ PREFIX=/usr \
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION/$MAPSRC \
+ MANDIR=/usr/man/man1
+make install \
+ PREFIX=/usr \
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION/$MAPSRC \
+ MANDIR=/usr/man/man1 \
+ DESTDIR=$PKG
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/fotoxx/fotoxx.info b/graphics/fotoxx/fotoxx.info
index d064d4e2bf..72cd259be0 100644
--- a/graphics/fotoxx/fotoxx.info
+++ b/graphics/fotoxx/fotoxx.info
@@ -1,8 +1,10 @@
PRGNAM="fotoxx"
-VERSION="14.01.1"
-HOMEPAGE="http://www.kornelix.com/fotoxx.html"
-DOWNLOAD="http://www.kornelix.com/uploads/1/3/0/3/13035936/fotoxx-14.01.1.tar.gz"
-MD5SUM="2300c7d8bdf704354bedd1ce07fa843c"
+VERSION="16.01.1"
+HOMEPAGE="http://kornelix.net/fotoxx/fotoxx.html"
+DOWNLOAD="http://kornelix.net/downloads/tarballs/fotoxx-16.01.1.tar.gz \
+ http://kornelix.net/downloads/tarballs/fotoxx-maps-1.1.tar.gz"
+MD5SUM="b818c87c14a9f8047016096274f27981 \
+ 0d9f2d2715fea15ad9f4189caaf1112f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="exiftool ufraw"