diff options
Diffstat (limited to 'libraries/med/med.SlackBuild')
-rw-r--r-- | libraries/med/med.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/med/med.SlackBuild b/libraries/med/med.SlackBuild index 9256b4e3b0..2620575135 100644 --- a/libraries/med/med.SlackBuild +++ b/libraries/med/med.SlackBuild @@ -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 \ |