[arch-commits] Commit in lirc/trunk (PKGBUILD)
Hugo Doria
hugo at archlinux.org
Fri Oct 16 14:21:43 UTC 2009
Date: Friday, October 16, 2009 @ 10:21:43
Author: hugo
Revision: 55913
upgpkg: lirc 0.8.6-1
Upstream update to 0.8.6
Modified:
lirc/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-16 12:08:45 UTC (rev 55912)
+++ PKGBUILD 2009-10-16 14:21:43 UTC (rev 55913)
@@ -2,14 +2,14 @@
# Maintainer: Paul Mattal <paul at archlinux.org>
pkgname=lirc
-pkgver=0.8.5
-pkgrel=3
+pkgver=0.8.6
+pkgrel=1
_kernver=2.6.31-ARCH
pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
arch=('i686' 'x86_64')
url="http://www.lirc.org/"
license=('GPL')
-depends=('lirc-utils=0.8.5' 'kernel26>=2.6.31' 'kernel26<2.6.32')
+depends=('lirc-utils=0.8.6' 'kernel26>=2.6.31' 'kernel26<2.6.32')
makedepends=('help2man')
replaces=('lirc+pctv')
options=('!makeflags')
@@ -19,9 +19,8 @@
build() {
# configure
- cd $startdir/src/lirc-$pkgver || return 1
- # fix for 2.6.31 compilation
- patch -Np1 -i ../kernel-2.6.31.patch || return 1
+ cd ${srcdir}/lirc-${pkgver} || return 1
+
./configure --enable-sandboxed --prefix=/usr \
--with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \
--with-moduledir=/lib/modules/${_kernver}/kernel/drivers/misc \
@@ -33,18 +32,20 @@
sed -i -e "s:lirc_parallel::" -e "s:lirc_bt829::" \
Makefile drivers/Makefile drivers/*/Makefile tools/Makefile \
|| return 1
+
# disable lirc_gpio due to brokeness of kernel 2.6.23
sed -i -e "s:lirc_gpio::" \
Makefile drivers/Makefile drivers/*/Makefile tools/Makefile \
|| return 1
+
# build
cd drivers || return 1
make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ make DESTDIR=${pkgdir} install || return 1
# set the kernel we've built for inside the install script
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
- $startdir/lirc.install || return 1
+ ${startdir}/lirc.install || return 1
}
-md5sums=('5a274e4eaff8156b17903c22ea01f506'
+md5sums=('4ca24da6f5e7c2dcea74878c27a4a3f7'
'615135d0252588070e7ba84d13e5dc82')
More information about the arch-commits
mailing list