aboutsummaryrefslogtreecommitdiff
path: root/graphics/hugin/hugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hugin/hugin.SlackBuild')
-rw-r--r--graphics/hugin/hugin.SlackBuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index 70dd5f957151..f7915c45b653 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -3,12 +3,8 @@
# Slackware build script for Hugin
#
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2011-2015 by titopoquito (titopoquito@gmail.com)
# All rights reserved.
-# Modified 2011 for version 2011.0.0 by titopoquito
-# Modified 2012 for version 2011.4.0 by titopoquito
-# Modified 2013 for version 2012.0.0 by titopoquito
-# Modified 2014 for version 2013.0.0 and 2014.0.0 by titopoquito
-# (titopoquito@gmail.com)
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -28,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hugin
-VERSION=${VERSION:-2014.0.0}
+VERSION=${VERSION:-2015.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,18 +64,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-# make it compile with lensfun 0.3.0
-# taken from the gentoo-commits.gentoo.org
-# mailing list. Thanks to Francesco Riosa!
-# https://bugs.gentoo.org/show_bug.cgi?id=524700
-patch -p1 < $CWD/patch.lensfun-0.3.0
-
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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
@@ -99,7 +89,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL_cmake LICENCE_VIGRA README README_JP \
+cp -a AUTHORS COPYING ChangeLog INSTALL_cmake README README_JP \
TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild