mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
accessibility/linuxwacom: Removed (xf86-input-wacom is in Slackware)
This commit is contained in:
parent
a269d64c6e
commit
de887c3cc0
5 changed files with 0 additions and 136 deletions
|
@ -1,12 +0,0 @@
|
|||
The Linux Wacom Project manages the drivers, libraries, and documentation
|
||||
for configuring and running Wacom tablets under the Linux operating system.
|
||||
It contains diagnostic applications as well as updated kernel drivers and
|
||||
XFree86/Xorg XInput drivers.
|
||||
|
||||
One way of loading the kernel module at boot, add edit /etc/rc.d/rc.modules
|
||||
adding a line similar to the following:
|
||||
/sbin/modprobe wacom
|
||||
|
||||
Please see the following url for X server configuration:
|
||||
http://linuxwacom.sourceforge.net/index.php/howto/inputdev
|
||||
See also the wacom(4) manpage
|
|
@ -1,2 +0,0 @@
|
|||
chroot . /sbin/depmod -a @KERNEL@
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for The Linux Wacom Project
|
||||
|
||||
# Written by Menno Duursma <druiloor@zonnet.nl>
|
||||
|
||||
# This program is free software. It comes without any warranty.
|
||||
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
|
||||
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
|
||||
# Modified by the SlackBuilds.org project.
|
||||
|
||||
PRGNAM=linuxwacom
|
||||
VERSION=${VERSION:-0.8.4_4}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
KERNEL=${KERNEL:-$(uname -r)}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
SRCVER=$(echo $VERSION | tr _ -)
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
|
||||
cd $PRGNAM-$SRCVER
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -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} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--with-kernel=/lib/modules/${KERNEL}/source \
|
||||
--with-linux=yes \
|
||||
--enable-wacom \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Install the kernel module
|
||||
# Ignore the "2.6.28" in the path below; you can verify with
|
||||
# modinfo(8) if you don't trust me... ;-) --rworkman
|
||||
mkdir -p $PKG/lib/modules/${KERNEL}/kernel/drivers/usb/input
|
||||
install -m 0644 src/2.6.28/wacom.ko \
|
||||
$PKG/lib/modules/${KERNEL}/kernel/drivers/usb/input
|
||||
|
||||
( cd $PKG/usr || exit 1
|
||||
find . -type f | xargs file | grep -e "executable" -e "shared object" \
|
||||
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog GPL README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="linuxwacom"
|
||||
VERSION="0.8.4_4"
|
||||
HOMEPAGE="http://linuxwacom.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/linuxwacom/linuxwacom-0.8.4-4.tar.bz2"
|
||||
MD5SUM="e66c2732e51bca8a56c3d41e502bf7b9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Menno Duursma"
|
||||
EMAIL="druiloor@zonnet.nl"
|
||||
APPROVED="dsomero"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler-----------------------------------------------------|
|
||||
linuxwacom: linuxwacom (The Linux Wacom Project software)
|
||||
linuxwacom:
|
||||
linuxwacom: drivers, libraries, and documentation for configuring and
|
||||
linuxwacom: running Wacom tablets under the Linux operating system.
|
||||
linuxwacom:
|
||||
linuxwacom:
|
||||
linuxwacom:
|
||||
linuxwacom:
|
||||
linuxwacom:
|
||||
linuxwacom:
|
||||
linuxwacom:
|
Loading…
Reference in a new issue