diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-11 09:03:52 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:45 +0700 |
commit | 59e2dae555f9fcc2658ab62dd1c1fcb10d3c5f31 (patch) | |
tree | 1a93166cfbd10ca5040380f4e60a66ac2ae4f2f3 /development/ParadisEO/ParadisEO.SlackBuild | |
parent | 4694bee07df60f8313228b5728dfa5e94b665639 (diff) |
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>
Diffstat (limited to 'development/ParadisEO/ParadisEO.SlackBuild')
-rw-r--r-- | development/ParadisEO/ParadisEO.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/development/ParadisEO/ParadisEO.SlackBuild b/development/ParadisEO/ParadisEO.SlackBuild index 0d59ba9aa808..41c153c1dbd8 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 |