summaryrefslogtreecommitdiff
path: root/multimedia/media-player-info/media-player-info.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/media-player-info/media-player-info.SlackBuild')
-rw-r--r--multimedia/media-player-info/media-player-info.SlackBuild28
1 files changed, 3 insertions, 25 deletions
diff --git a/multimedia/media-player-info/media-player-info.SlackBuild b/multimedia/media-player-info/media-player-info.SlackBuild
index 5a1f92e468..d5f4362b14 100644
--- a/multimedia/media-player-info/media-player-info.SlackBuild
+++ b/multimedia/media-player-info/media-player-info.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for media-player-info
-# Copyright 2010 Robby Workman, Northport, Alabama, USA
+# Copyright 2010,2011 Robby Workman, Northport, Alabama, 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=media-player-info
-VERSION=${VERSION:-11}
+VERSION=${VERSION:-12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- 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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 -e
rm -rf $PKG
@@ -69,8 +49,6 @@ find . \
\( -perm 666 -o -perm 664 -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} \