aboutsummaryrefslogtreecommitdiff
path: root/system/disk-manager/disk-manager.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-22 00:23:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:19 +0700
commite385ece073723ed36fe4a52e05163dfb4a356dec (patch)
tree223fb135b8e98d53ada263ebdd02130aa37bc007 /system/disk-manager/disk-manager.SlackBuild
parent4efd96d256ca2368804eb336ee96f885c518b1b1 (diff)
system/disk-manager: Updated for version 1.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/disk-manager/disk-manager.SlackBuild')
-rw-r--r--system/disk-manager/disk-manager.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/system/disk-manager/disk-manager.SlackBuild b/system/disk-manager/disk-manager.SlackBuild
index d17c9a4f5fe5..705641dadd6f 100644
--- a/system/disk-manager/disk-manager.SlackBuild
+++ b/system/disk-manager/disk-manager.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
+#
# Slackware build script for disk-manager.
-
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=disk-manager
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.1.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
@@ -39,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"
@@ -59,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,7 +69,9 @@ 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 {} \;
-patch -p1 < $CWD/disk-manager-1.0.1-3.diff
+patch -p1 < $CWD/02-fix_desktop_files.patch
+patch -p1 < $CWD/03-fix_translation.patch
+patch -p1 < $CWD/06-private_pythonlib.patch
mkdir -p $PKG/etc/hal/fdi/policy
CFLAGS="$SLKCFLAGS" \