summaryrefslogtreecommitdiffstats
path: root/deps/lensfun/lensfun.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/lensfun/lensfun.SlackBuild')
-rwxr-xr-xdeps/lensfun/lensfun.SlackBuild15
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 ..