summaryrefslogtreecommitdiffstats
path: root/graphics/xmedcon/xmedcon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmedcon/xmedcon.SlackBuild')
-rw-r--r--graphics/xmedcon/xmedcon.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild
index 53ad1c8eb5..149b24e67e 100644
--- a/graphics/xmedcon/xmedcon.SlackBuild
+++ b/graphics/xmedcon/xmedcon.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for (X)MedCon
#
-# Copyright 2013 Marek Srejma (sam_web@yahoo.de)
+# Copyright 2016 Marek Srejma (sam_web@yahoo.de)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmedcon
-VERSION=${VERSION:-0.13.0}
+VERSION=${VERSION:-0.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,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"
@@ -90,6 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mv $PKG/usr/etc $PKG/
mv $PKG/etc/xmedconrc $PKG/etc/xmedconrc.new
mkdir -p $PKG/usr/share/pixmaps