diff options
Diffstat (limited to 'graphics/enblend-enfuse/enblend-enfuse.SlackBuild')
-rw-r--r-- | graphics/enblend-enfuse/enblend-enfuse.SlackBuild | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild index 89225d3202..2e45033d2c 100644 --- a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild +++ b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Enblend-Enfuse # # Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA -# Copyright 2011-2015 titopoquito (titopoquito@gmail.com) +# Copyright 2011-2016 titopoquito (titopoquito@gmail.com) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=enblend-enfuse -VERSION=${VERSION:-4.1.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.1.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,17 +68,10 @@ 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 {} \; - -# for version 4.1.2 there is an underlinking problem in -# enblend-enfuse when used with an vigra library that is -# compiled to support OpenEXR. Both are needed to run -# hugin, a program to create panorama photos. -# Thanks to David Spencer for the LDFLAGS hint! + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ -LDFLAGS="-lpthread" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ @@ -86,10 +79,14 @@ LDFLAGS="-lpthread" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux -make +make -j1 make install-strip DESTDIR=$PKG -gzip -9 $PKG/usr/man/man?/*.? +rm -f $PKG/usr/info/dir +gzip -9 $PKG/usr/info/*.info* + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog NEWS README README.txt VERSION \ |