aboutsummaryrefslogtreecommitdiff
path: root/development/mmtf-cpp/mmtf-cpp.SlackBuild
diff options
context:
space:
mode:
authorGiancarlo Dessì <slack@giand.it>2023-03-23 02:28:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-25 10:01:52 +0700
commitb574300f714506d8873203cc0c44dd03cafdd306 (patch)
tree32a7ff59f72f5fd3a04926977e1ab0b8e0fb76d6 /development/mmtf-cpp/mmtf-cpp.SlackBuild
parenteeb03072b4ae71fb0e079481fee093c82f529a65 (diff)
development/mmtf-cpp: Updated for version 1.1.0.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mmtf-cpp/mmtf-cpp.SlackBuild')
-rw-r--r--development/mmtf-cpp/mmtf-cpp.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/development/mmtf-cpp/mmtf-cpp.SlackBuild b/development/mmtf-cpp/mmtf-cpp.SlackBuild
index f40925bae6..99674bc660 100644
--- a/development/mmtf-cpp/mmtf-cpp.SlackBuild
+++ b/development/mmtf-cpp/mmtf-cpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mmtf-cpp
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -81,11 +78,8 @@ find -L . \
mkdir -p build
cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install/strip DESTDIR=$PKG
+ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ..
+ DESTDIR=$PKG ninja install
cd ..
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la