summaryrefslogtreecommitdiffstats
path: root/academic/xiphos/xiphos.SlackBuild
diff options
context:
space:
mode:
author Tim Dickson2020-09-19 04:05:16 +0200
committer Willy Sudiarto Raharjo2020-09-26 11:10:44 +0200
commit0eb2e096675c8d0f02ed1ef4a17f4b62ca0dc03f (patch)
tree75df14ac62bfc365430bb75a0c88edb47cd0103b /academic/xiphos/xiphos.SlackBuild
parentbf32b914bd69ecacc0629cec8fb4f0d545725741 (diff)
downloadslackbuilds-0eb2e096675c8d0f02ed1ef4a17f4b62ca0dc03f.tar.gz
academic/xiphos: Updated for version 4.2.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/xiphos/xiphos.SlackBuild')
-rw-r--r--academic/xiphos/xiphos.SlackBuild33
1 files changed, 4 insertions, 29 deletions
diff --git a/academic/xiphos/xiphos.SlackBuild b/academic/xiphos/xiphos.SlackBuild
index ee8a4f4379..859e77f6bc 100644
--- a/academic/xiphos/xiphos.SlackBuild
+++ b/academic/xiphos/xiphos.SlackBuild
@@ -24,8 +24,7 @@
PRGNAM=xiphos
VERSION=${VERSION:-4.2.1}
-CMVERSION=${CMVERSION:-3.17.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,8 +63,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-#we need a private copy of a newer version of cmake (at least 3.11)
-tar xvf $CWD/cmake-$CMVERSION.tar.gz
+#we will use a newer version of cmake (at least 3.11)
#sane permissions for everything
chown -R root:root .
@@ -75,32 +73,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 {} \;
#
-#now do private cmake stuff - note capital C
-cd CMake-$CMVERSION
-mkdir cmake-build
-cd cmake-build
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- ../configure \
- --prefix=$TMP/$PRGNAM-$VERSION/tmpcmake \
- --docdir=/doc \
- --no-qt-gui \
- --system-curl \
- --system-expat \
- --no-system-jsoncpp \
- --system-zlib \
- --system-bzip2 \
- --system-libarchive
-#we don't care about the docs really as this is a temp install.
-make
-make install
-#hopefully that has installed our tmp cmake in the right place
-#in $TMP/$PRGNAM-$VERSION/tmpcmake/bin
-#lets make it available to the xiphos build
+#lets make newer cmake available to the xiphos build
OLDPATH=$PATH
-export PATH=$TMP/$PRGNAM-$VERSION/tmpcmake/bin:$PATH
-#move back to the right directory
-cd ../../
+export PATH=/opt/cmake-202x/bin:$PATH
# patch navbar_versekey.gtkbuilder to work with gtk shipped with slackware 14.2
# patch won't be needed for slackware 15