diff options
author | Antonio Hernández Blas <hba.nihilismus@gmail.com> | 2011-10-30 17:23:58 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 22:02:25 -0200 |
commit | f19e89515b8fe1cbd1e773e32f71ee59d2623851 (patch) | |
tree | f9da268e7fcf7ce92fa4059417bf806ade1805f2 /system/tp_smapi/tp_smapi.SlackBuild | |
parent | 38b8da011417e299f61d38e94154028b9e881e14 (diff) | |
download | slackbuilds-f19e89515b8fe1cbd1e773e32f71ee59d2623851.tar.gz |
system/tp_smapi: Updated for version 0.41.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/tp_smapi/tp_smapi.SlackBuild')
-rw-r--r-- | system/tp_smapi/tp_smapi.SlackBuild | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/system/tp_smapi/tp_smapi.SlackBuild b/system/tp_smapi/tp_smapi.SlackBuild index 3e982c13fa..f5158d0d60 100644 --- a/system/tp_smapi/tp_smapi.SlackBuild +++ b/system/tp_smapi/tp_smapi.SlackBuild @@ -22,8 +22,8 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tp_smapi -VERSION=0.40 -BUILD=${BUILD:-4} +VERSION=0.41 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} KERNEL=${KERNEL:-"$(uname -r)"} @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -71,16 +71,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Thanks to debian, gentoo and arch guys for this patches :) -# Fix tp_smapi build in kernel version >= 2.6.37 -# http://sourceforge.net/tracker/index.php?func=detail&aid=3153602&group_id=1212&atid=101212 -patch -p1 < $CWD/patches/tp_smapi-0.40-2.6.37.patch - -# Adds axis inversion handling for x200 and x200s -# https://aur.archlinux.org/packages.php?ID=3985 -# This patch *does not* come from upstream, so use it at your own risk. -# patch -p1 < $CWD/patches/tp_smapi-0.40-x200-x200s-support.patch - ( case "$ARCH" in i?86) ARCH=x86 ;; esac @@ -101,8 +91,8 @@ install -m 0664 thinkpad_ec.ko tp_smapi.ko \ # We're not going to install these with a .new extension, because we don't # want them to be present if the package is removed. mkdir -p $PKG/etc/modprobe.d -cat $CWD/modprobe.tp_smapi.conf > $PKG/etc/modprobe.d/tp_smapi.conf -cat $CWD/modprobe.thinkpad_ec.conf > $PKG/etc/modprobe.d/thinkpad_ec.conf +cat $CWD/modprobe.d/tp_smapi.conf > $PKG/etc/modprobe.d/tp_smapi.conf +cat $CWD/modprobe.d/thinkpad_ec.conf > $PKG/etc/modprobe.d/thinkpad_ec.conf # Make hdaps kernel module from this package be prefered over hdaps in kernel-module package. mkdir -p $PKG/etc/depmod.d |