From b574300f714506d8873203cc0c44dd03cafdd306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giancarlo=20Dess=C3=AC?= Date: Thu, 23 Mar 2023 02:28:01 +0000 Subject: development/mmtf-cpp: Updated for version 1.1.0. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- development/mmtf-cpp/mmtf-cpp.SlackBuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'development/mmtf-cpp/mmtf-cpp.SlackBuild') 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 -- cgit v1.2.3