diff options
author | Eric Hameleers <alien@slackware.com> | 2019-12-22 22:38:45 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-12-22 22:38:45 +0100 |
commit | 9857d428cc7173b48607835a615f4c475619b3ff (patch) | |
tree | 158047bfcc8323dab6e56080be452f9cd995e7fe /deps/lensfun/lensfun.SlackBuild | |
parent | 305c41fc6d7835e38cb3a2a099d9fa80ed7f3f28 (diff) | |
download | ktown-9857d428cc7173b48607835a615f4c475619b3ff.tar.gz ktown-9857d428cc7173b48607835a615f4c475619b3ff.tar.xz |
Deps: updates (lensfun, mlt, sip) and addition (md4c)
Diffstat (limited to 'deps/lensfun/lensfun.SlackBuild')
-rwxr-xr-x | deps/lensfun/lensfun.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/deps/lensfun/lensfun.SlackBuild b/deps/lensfun/lensfun.SlackBuild index 14af1b5..ba64125 100755 --- a/deps/lensfun/lensfun.SlackBuild +++ b/deps/lensfun/lensfun.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright 2009, 2010, 2012, 2017 Eric Hameleers, Eindhoven, NL -# Copyright 2017 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2012, 2017, 2019 Eric Hameleers, Eindhoven, NL +# Copyright 2017, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -25,7 +25,7 @@ PKGNAM=lensfun -VERSION=${VERSION:-0.3.2} +VERSION=${VERSION:-0.3.95} BUILD=${BUILD:-1} CWD=$(pwd) @@ -35,7 +35,7 @@ PKG=$TMP/package-$PKGNAM # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; @@ -43,8 +43,8 @@ if [ -z "$ARCH" ]; then export ARCH fi -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686" SLKLDFLAGS="" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then @@ -96,8 +96,9 @@ cd build -DBUILD_FOR_SSE=ON \ -DBUILD_FOR_SSE2=ON \ -DBUILD_TESTS=OFF \ + -DINSTALL_HELPER_SCRIPTS=ON \ .. - make + make VERBOSE=1 make install DESTDIR=$PKG cd .. |