development/ParadisEO: Updated for version 3.0.0_beta.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-11 09:03:52 +01:00 committed by Willy Sudiarto Raharjo
parent 4694bee07d
commit 59e2dae555
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 12 deletions

View file

@ -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

View file

@ -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=""