aboutsummaryrefslogtreecommitdiff
path: root/academic/fityk/fityk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/fityk/fityk.SlackBuild')
-rw-r--r--academic/fityk/fityk.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/academic/fityk/fityk.SlackBuild b/academic/fityk/fityk.SlackBuild
index be395693d467a..653bebf0985f2 100644
--- a/academic/fityk/fityk.SlackBuild
+++ b/academic/fityk/fityk.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fityk
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-20210925_e022356}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,7 +80,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
+./autogen.sh \
--prefix=/usr \
--bindir=/usr/bin \
--libdir=/usr/lib${LIBDIRSUFFIX} \