aboutsummaryrefslogtreecommitdiff
path: root/system/lirc/lirc.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-16 18:53:31 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 13:58:39 -0600
commit216951f8c84f7e09fdc1165a8446d6ff8c19efb8 (patch)
tree846ff88fd60be41ec3ea4542955ca0c7ce8522f4 /system/lirc/lirc.SlackBuild
parentf783cdc0cba06a3a85ea4d395d0f748196895a8a (diff)
system/lirc: Added more patches for recent kernels.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/lirc/lirc.SlackBuild')
-rw-r--r--system/lirc/lirc.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild
index 79a6ffff8a89d..07350db303845 100644
--- a/system/lirc/lirc.SlackBuild
+++ b/system/lirc/lirc.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=lirc
VERSION=${VERSION:-0.9.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -75,8 +75,7 @@ find . \
-exec chmod 644 {} \;
# Patch for recent kernels, thanks Gentoo
-patch -p1 < $CWD/patches/lirc-0.9.0-kernel-2.6.39-fixes.patch
-patch -p1 < $CWD/patches/lirc-0.9.0-atiusb_kfifo.patch
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -116,6 +115,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# This is an empty file :|
+rm -f $PKG/usr/man/man1/smode2.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ANNOUNCE AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \