diff options
Diffstat (limited to 'system/imwheel')
-rw-r--r-- | system/imwheel/README | 25 | ||||
-rw-r--r-- | system/imwheel/imwheel.SlackBuild | 16 | ||||
-rw-r--r-- | system/imwheel/imwheel.info | 2 |
3 files changed, 26 insertions, 17 deletions
diff --git a/system/imwheel/README b/system/imwheel/README index 4798081f73..47ded69bc3 100644 --- a/system/imwheel/README +++ b/system/imwheel/README @@ -1,17 +1,16 @@ -IMWheel is a universal mouse wheel and mouse stick translator for X Windows -using either a special version of gpm and its /dev/gpmwheel FIFO or the -support for a ZAxis on the mouse built into X. Utilizing the input from gpm -or X Windows, imwheel translates mouse wheel and mouse stick actions into -keyboard events using the XTest extension to X. Use xdpyinfo for information -on the supported extensions in your X server. +IMWheel is a universal mouse wheel and mouse stick translator for X +Windows using either a special version of gpm and its /dev/gpmwheel FIFO +or the support for a ZAxis on the mouse built into X. Utilizing the +input from gpm or X Windows, imwheel translates mouse wheel and mouse +stick actions into keyboard events using the XTest extension to X. Use +xdpyinfo for information on the supported extensions in your X server. -This build script has a patch that disables the configurator appearing when -you mouse up and down on the root window. I did this because it stopped the -ability for workspace changing in fluxbox and other WMs, and it would also -pop up at the most annoying times ;) However, the configurator window can -still be found with the "-c" switch. +This build script has a patch that disables the configurator appearing +when you mouse up and down on the root window. I did this because it +stopped the ability for workspace changing in fluxbox and other WMs, and +it would also pop up at the most annoying times ;) However, the +configurator window can still be found with the "-c" switch. -If you do NOT wish to apply this patch, run the script with PATCH=no in the -environment: +If you do NOT wish to apply this patch, run the script with PATCH=no: PATCH=no ./imwheel.SlackBuild diff --git a/system/imwheel/imwheel.SlackBuild b/system/imwheel/imwheel.SlackBuild index 5a0bb83416..82dd077e2f 100644 --- a/system/imwheel/imwheel.SlackBuild +++ b/system/imwheel/imwheel.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for imwheel @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=imwheel VERSION=${VERSION:-1.0.0pre12} BUILD=${BUILD:-4} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -102,4 +112,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/imwheel/imwheel.info b/system/imwheel/imwheel.info index bad400108c..76f3d8bae9 100644 --- a/system/imwheel/imwheel.info +++ b/system/imwheel/imwheel.info @@ -6,5 +6,5 @@ MD5SUM="21d81db739ae95d96f9b650f7b826a14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" |