diff options
Diffstat (limited to 'development/mmtf-cpp/mmtf-cpp.SlackBuild')
-rw-r--r-- | development/mmtf-cpp/mmtf-cpp.SlackBuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/development/mmtf-cpp/mmtf-cpp.SlackBuild b/development/mmtf-cpp/mmtf-cpp.SlackBuild index f40925bae644..99674bc6608e 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 |