graphics/fotoxx: Updated for version 16.01.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2016-01-09 23:56:57 -06:00
parent e6a65bcff4
commit 850f7837c0
2 changed files with 41 additions and 13 deletions

View File

@ -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,15 +74,36 @@ 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 install \
CXXFLAGS="$SLKCFLAGS -Wno-deprecated-declarations" \
LDFLAGS="$SLKCFLAGS -Wall -rdynamic" \
make \
CPPFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
DOCDIR=/usr/doc/$PRGNAM-$VERSION \
MANDIR=/usr/man/man1
make install \
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

View File

@ -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"