From 59e2dae555f9fcc2658ab62dd1c1fcb10d3c5f31 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 11 Feb 2022 09:03:52 +0100 Subject: [PATCH] development/ParadisEO: Updated for version 3.0.0_beta. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- development/ParadisEO/ParadisEO.SlackBuild | 17 +++++++++-------- development/ParadisEO/ParadisEO.info | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/development/ParadisEO/ParadisEO.SlackBuild b/development/ParadisEO/ParadisEO.SlackBuild index 0d59ba9aa8..41c153c1db 100644 --- a/development/ParadisEO/ParadisEO.SlackBuild +++ b/development/ParadisEO/ParadisEO.SlackBuild @@ -25,14 +25,15 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ParadisEO -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-3.0.0_beta} +SRCVER=$(echo $VERSION | tr _ - ) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +51,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -69,9 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-2.0 -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-2.0 +rm -rf paradiseo-v$SRCVER +tar xvf $CWD/paradiseo-v$SRCVER.tar.?z* +cd paradiseo-v$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,7 +88,7 @@ make make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS README LICENSE INSTALL $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS README* LICENSE INSTALL* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/ParadisEO/ParadisEO.info b/development/ParadisEO/ParadisEO.info index 44415b247b..0638a93f11 100644 --- a/development/ParadisEO/ParadisEO.info +++ b/development/ParadisEO/ParadisEO.info @@ -1,8 +1,8 @@ PRGNAM="ParadisEO" -VERSION="2.0.1" -HOMEPAGE="http://paradiseo.gforge.inria.fr/" -DOWNLOAD="https://gforge.inria.fr/frs/download.php/31732/ParadisEO-2.0.1.tar.gz" -MD5SUM="89f875b3f92abdb64b26c6c207fef346" +VERSION="3.0.0_beta" +HOMEPAGE="https://gitlab.inria.fr/paradiseo/paradiseo/" +DOWNLOAD="https://gitlab.inria.fr/paradiseo/paradiseo/-/archive/v3.0.0-beta/paradiseo-v3.0.0-beta.tar.bz2" +MD5SUM="6c68bcb3a485f8726b12e1af6b09f5bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""