summaryrefslogtreecommitdiff
path: root/graphics/scantailor/scantailor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scantailor/scantailor.SlackBuild')
-rw-r--r--graphics/scantailor/scantailor.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index 74e924da97..e480fa368e 100644
--- a/graphics/scantailor/scantailor.SlackBuild
+++ b/graphics/scantailor/scantailor.SlackBuild
@@ -5,8 +5,9 @@
# Written by Zhischenko Sergey <gishenko@mail.ru>
PRGNAM=scantailor
-VERSION=${VERSION:-0.9.11.1}
-BUILD=${BUILD:-2}
+SRCNAM=EXPERIMENTAL
+VERSION=${VERSION:-2016_01_13}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -41,9 +42,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-${SRCNAM}_${VERSION}
+tar xvf $CWD/${SRCNAM}_${VERSION}.tar.gz
+cd $PRGNAM-${SRCNAM}_${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -56,8 +57,7 @@ cd build
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_SKIP_RPATH:BOOL=YES \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release ..
make