academic/bpp-core: Updated for version 2.3.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Petar Petrov 2017-10-07 16:12:25 +01:00 committed by Willy Sudiarto Raharjo
parent 6e040246c0
commit bde72a38fd
2 changed files with 7 additions and 9 deletions

View File

@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bpp-core
VERSION=${VERSION:-git_669fa51}
COMMIT=669fa51fe288a66b9857ba192d37520aae3f4dd9
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$COMMIT
tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
cd $PRGNAM-$COMMIT
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -78,7 +77,6 @@ cd build
-DCMAKE_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="bpp-core"
VERSION="git_669fa51"
VERSION="2.3.1"
HOMEPAGE="http://biopp.univ-montp2.fr/"
DOWNLOAD="https://github.com/BioPP/bpp-core/archive/669fa51/bpp-core-669fa51fe288a66b9857ba192d37520aae3f4dd9.tar.gz"
MD5SUM="eb7b613534ec300a3b8cbe15d0922035"
DOWNLOAD="https://github.com/BioPP/bpp-core/archive/v2.3.1/bpp-core-2.3.1.tar.gz"
MD5SUM="1455a0e7c54cbffddd1de12c87fa7500"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""