diff options
Diffstat (limited to 'libraries/osgQt/osgQt.SlackBuild')
-rw-r--r-- | libraries/osgQt/osgQt.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libraries/osgQt/osgQt.SlackBuild b/libraries/osgQt/osgQt.SlackBuild index 4ebbd9c55499a..f1a50aeeaadfc 100644 --- a/libraries/osgQt/osgQt.SlackBuild +++ b/libraries/osgQt/osgQt.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=osgQt -VERSION=${VERSION:-3.5.5} +VERSION=${VERSION:-20210405_8fa9e2a} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,15 +64,13 @@ else LIBDIRSUFFIX="" fi -osgqt="-DDESIRED_QT_VERSION=4"; [ "${OSGQT:-4}" = "5" ] && osgqt="-DDESIRED_QT_VERSION=5" - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -87,8 +85,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - $osgqt + -DCMAKE_BUILD_TYPE=Release make make install DESTDIR=$PKG |