aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-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 2ae471695eba..66d7afcad06d 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 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
diff --git a/development/mmtf-cpp/mmtf-cpp.info b/development/mmtf-cpp/mmtf-cpp.info
index 0ee5c598231a..194a4c509258 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"