aboutsummaryrefslogtreecommitdiff
path: root/system/lirc/lirc.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo -at- gmail.com>2015-11-21 09:29:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-21 09:29:04 +0700
commit9eb5161cd5cedc95d67b0fa67e295f21c6839e3e (patch)
tree677e99c1282bbb2bc5b6e7a8f441fb588d4dd065 /system/lirc/lirc.SlackBuild
parent3b4067483c1480dcebe4b33c057f61360aeeddcb (diff)
system/lirc: Updated for version 0.9.3a + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lirc/lirc.SlackBuild')
-rw-r--r--system/lirc/lirc.SlackBuild25
1 files changed, 9 insertions, 16 deletions
diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild
index 2e3a7243c5a49..05d09ea0d5572 100644
--- a/system/lirc/lirc.SlackBuild
+++ b/system/lirc/lirc.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for lirc
# Copyright 2009 Murat D. Kadirov <banderols@gmail.com>
+# Copyright 2015 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,9 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified for 0.9.3a by Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+
PRGNAM=lirc
-VERSION=${VERSION:-0.9.0}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.9.3a}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -72,8 +75,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch for recent kernels, thanks Gentoo
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
+# Patch to fix config.status warning for lirc-driver.pc.in ignoring --datarootdir
+patch -p1 < $CWD/datarootdir.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,21 +87,11 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-sandboxed \
- --with-driver=all \
- --with-transmitter \
--build=$ARCH-slackware-linux
-# Disable parallel and bt829 because of incompatibility with smp systems
-sed -i -e "s:lirc_parallel::" -e "s:lirc_bt829::" \
- Makefile drivers/Makefile drivers/*/Makefile tools/Makefile
-
make -j1
make install DESTDIR=$PKG
-mkdir -p $PKG/usr/share/$PRGNAM
-cp -a remotes $PKG/usr/share/$PRGNAM
-
mkdir -p $PKG/lib/udev/rules.d
cat contrib/lirc.rules > $PKG/lib/udev/rules.d/96-lirc.rules
@@ -117,8 +110,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
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 \
- doc/{html,irxevent.keys,lirc.hwdb} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ doc/{html,irxevent.keys} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install