mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/med: Updated for version 4.0.0.
Added the new dependency python3 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
55ed184df4
commit
3cf15abede
2 changed files with 9 additions and 10 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=med
|
||||
VERSION=${VERSION:-3.2.1}
|
||||
VERSION=${VERSION:-4.0.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -54,16 +54,14 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
SRCVERSION=$(echo $VERSION'_SRC')
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVERSION
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$SRCVERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -71,6 +69,7 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
PYTHON_VERSION=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="med"
|
||||
VERSION="3.2.1"
|
||||
VERSION="4.0.0"
|
||||
HOMEPAGE="https://www.code-aster.org"
|
||||
DOWNLOAD="http://files.salome-platform.org/Salome/other/med-3.2.1.tar.gz"
|
||||
MD5SUM="4965899bb578229ba27c9bc5293c651e"
|
||||
DOWNLOAD="http://files.salome-platform.org/Salome/other/med-4.0.0.tar.gz"
|
||||
MD5SUM="ef903d0dc165fc72818ab264ebb6e8ba"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="hdf5"
|
||||
REQUIRES="hdf5 python3"
|
||||
MAINTAINER="blizzack"
|
||||
EMAIL="slackbuilds@blizzack.com"
|
||||
EMAIL="slackbuilds@blizzack.com"
|
||||
|
|
Loading…
Reference in a new issue