diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-08-24 23:41:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-24 23:41:36 +0700 |
commit | ca8e1f105b36a16e63306cd5e21f4d5b23df4478 (patch) | |
tree | eaf6c1c9f996dff59214d79805492d64bd93b92c /libraries/mdds/mdds.SlackBuild | |
parent | 206471ef62d70a606d922385dbd9b1e1d5ee38ab (diff) |
libraries/mdds: Updated for version 1.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/mdds/mdds.SlackBuild')
-rw-r--r-- | libraries/mdds/mdds.SlackBuild | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/libraries/mdds/mdds.SlackBuild b/libraries/mdds/mdds.SlackBuild index 67d71e2af10d8..98925910032f0 100644 --- a/libraries/mdds/mdds.SlackBuild +++ b/libraries/mdds/mdds.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mdds -# Copyright 2015-2018 Hunter Sezen California, USA +# Copyright 2015-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,37 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mdds -VERSION=${VERSION:-1.4.3} +VERSION=${VERSION:-1.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -eu rm -rf $PKG @@ -69,11 +49,8 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux |