summaryrefslogtreecommitdiffstats
path: root/system/imwheel/imwheel.SlackBuild
diff options
context:
space:
mode:
author David Woodfall2010-03-03 21:26:49 +0100
committer Erik Hanson2010-05-13 13:25:32 +0200
commitcf778870f7ac12c33c957c051fbbc2a8c389e34d (patch)
tree1f2e1da004f1d8960c89c7d647be9bb8378ec482 /system/imwheel/imwheel.SlackBuild
parentafecc715a0ea1beff2d6ac74923767bcb8c904b1 (diff)
downloadslackbuilds-cf778870f7ac12c33c957c051fbbc2a8c389e34d.tar.gz
system/imwheel: Build bump.
Fixed broken ETCDIR so it now points to $PKG/etc. Added patch to disable the auto configuration window that interfered with workspace switching in fluxbox etc. Thanks to David Woodfall.
Diffstat (limited to 'system/imwheel/imwheel.SlackBuild')
-rw-r--r--system/imwheel/imwheel.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/system/imwheel/imwheel.SlackBuild b/system/imwheel/imwheel.SlackBuild
index 0b2a97f959..2036945601 100644
--- a/system/imwheel/imwheel.SlackBuild
+++ b/system/imwheel/imwheel.SlackBuild
@@ -5,8 +5,6 @@
# Copyright 2009 David Woodfall <dave@unrealize.co.uk>
# All rights reserved.
#
-# aka dive in #slackware on freenode.net
-#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -22,14 +20,12 @@
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF
-# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF.
-
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=imwheel
VERSION=${VERSION:-1.0.0pre12}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -56,6 +52,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+patch -p1 < $CWD/noautoconfigurator.patch
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -73,8 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
+make
+make install DESTDIR=$PKG ETCDIR=$PKG/etc/X11/imwheel
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \