summaryrefslogtreecommitdiff
path: root/academic/bpp-core/bpp-core.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2017-10-07 16:12:25 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:19:46 +0700
commitbde72a38fd336da0ad5caa34a7c923f450eea3ba (patch)
treec0a0490210e0d5c32897bd92a5ffa343ed9df8d4 /academic/bpp-core/bpp-core.SlackBuild
parent6e040246c02e68a071ad174c3b0e3c14ada4aea7 (diff)
downloadslackbuilds-bde72a38fd336da0ad5caa34a7c923f450eea3ba.tar.gz
academic/bpp-core: Updated for version 2.3.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/bpp-core/bpp-core.SlackBuild')
-rw-r--r--academic/bpp-core/bpp-core.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/academic/bpp-core/bpp-core.SlackBuild b/academic/bpp-core/bpp-core.SlackBuild
index acf66fa3d6..529a98d8a6 100644
--- a/academic/bpp-core/bpp-core.SlackBuild
+++ b/academic/bpp-core/bpp-core.SlackBuild
@@ -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