summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Giancarlo Dessì2023-03-23 03:28:01 +0100
committer Willy Sudiarto Raharjo2023-03-25 04:01:52 +0100
commitb574300f714506d8873203cc0c44dd03cafdd306 (patch)
tree32a7ff59f72f5fd3a04926977e1ab0b8e0fb76d6
parenteeb03072b4ae71fb0e079481fee093c82f529a65 (diff)
downloadslackbuilds-b574300f714506d8873203cc0c44dd03cafdd306.tar.gz
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>
-rw-r--r--development/mmtf-cpp/README13
-rw-r--r--development/mmtf-cpp/mmtf-cpp.SlackBuild12
-rw-r--r--development/mmtf-cpp/mmtf-cpp.info6
3 files changed, 13 insertions, 18 deletions
diff --git a/development/mmtf-cpp/README b/development/mmtf-cpp/README
index 2ae471695e..66d7afcad0 100644
--- a/development/mmtf-cpp/README
+++ b/development/mmtf-cpp/README
@@ -1,9 +1,10 @@
-The MacroMolecular Transmission Format (MMTF) is a binary encoding of
-biological structures. It includes the coordinates, the topology and
-associated data. Specifically, a large subset of the data in mmCIF or
-PDB files can be represented. Pronounced goals are a reduced file size
-for efficient transmission over the Internet or from hard disk to
+The MacroMolecular Transmission Format (MMTF) is a binary encoding of
+biological structures. It includes the coordinates, the topology and
+associated data. Specifically, a large subset of the data in mmCIF or
+PDB files can be represented. Pronounced goals are a reduced file size
+for efficient transmission over the Internet or from hard disk to
memory and fast decoding/parsing speed.
-This slackbuild does not compile but install the C++ headers needed to
+This slackbuild does not compile but install the C++ headers needed to
compile sources that supports it, e.g. Avogadro 2.
+
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
diff --git a/development/mmtf-cpp/mmtf-cpp.info b/development/mmtf-cpp/mmtf-cpp.info
index 0ee5c59823..194a4c5092 100644
--- a/development/mmtf-cpp/mmtf-cpp.info
+++ b/development/mmtf-cpp/mmtf-cpp.info
@@ -1,8 +1,8 @@
PRGNAM="mmtf-cpp"
-VERSION="1.0.0"
+VERSION="1.1.0"
HOMEPAGE="https://github.com/rcsb/mmtf-cpp"
-DOWNLOAD="https://github.com/rcsb/mmtf-cpp/archive/v1.0.0/mmtf-cpp-1.0.0.tar.gz"
-MD5SUM="553f028a771b9d9f824903a2bf34be51"
+DOWNLOAD="https://github.com/rcsb/mmtf-cpp/archive/v1.1.0/mmtf-cpp-1.1.0.tar.gz"
+MD5SUM="ec961ff406a1636b4c5a25de7d9bd47b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="msgpack-c"