diff options
author | titopoquito <titopoquito@gmail.com> | 2011-08-11 16:44:35 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-08-11 16:44:35 -0300 |
commit | 1b1760e45ae6ca18d78201d1bfa7e7c8cb26cbfc (patch) | |
tree | 4d315eb946a9098b310fd7ce518cc79f191dcd01 /graphics/hugin/hugin.SlackBuild | |
parent | 647288da23e01e700d4d2b09a61b9f8dd5cf639a (diff) |
graphics/hugin: Updated for version 2011.0.0 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/hugin/hugin.SlackBuild')
-rw-r--r-- | graphics/hugin/hugin.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild index 3b77b4dfa4c6..c906e6d4f90f 100644 --- a/graphics/hugin/hugin.SlackBuild +++ b/graphics/hugin/hugin.SlackBuild @@ -4,6 +4,8 @@ # # Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. +# Modified 2011 for version 2011.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: @@ -23,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hugin -VERSION=2009.4.0 +VERSION=2011.0.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,19 +62,19 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -patch -p1 < $CWD/libpng14-fix.diff - cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_EXE_LINKER_FLAGS="-lpthread" \ -DLIB_SUFFIX="$LIBDIRSUFFIX" \ - -DCMAKE_INSTALL_PREFIX=/usr . + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release . make make install DESTDIR=$PKG @@ -81,7 +83,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mv $PKG/usr/share/man $PKG/usr -gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL_cmake LICENCE_VIGRA README README_JP \ |