summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/lirc')
-rw-r--r--abs/core/lirc/PKGBUILD30
-rw-r--r--abs/core/lirc/lirc.install6
2 files changed, 20 insertions, 16 deletions
diff --git a/abs/core/lirc/PKGBUILD b/abs/core/lirc/PKGBUILD
index a99f7fb..e8ddd4d 100644
--- a/abs/core/lirc/PKGBUILD
+++ b/abs/core/lirc/PKGBUILD
@@ -1,28 +1,29 @@
-# $Id: PKGBUILD 97714 2010-11-01 14:32:08Z tpowa $
+# $Id: PKGBUILD 100623 2010-11-24 21:20:40Z tpowa $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=lirc
-pkgver=0.8.7
-pkgrel=1
-_kernver=2.6.36-LinHES
+pkgver=0.9.0.pre1
+pkgrel=3
+_kernver=2.6.37-LinHES
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.7' 'kernel26>=2.6.36' 'kernel26<2.6.37')
-makedepends=('help2man' 'kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37')
+#depends=('lirc-utils' 'kernel26>=2.6.36' 'kernel26<2.6.37')
+depends=('lirc-utils' 'kernel26>=2.6.37')
+#makedepends=('help2man' 'kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37')
+makedepends=('help2man' 'kernel26-headers>=2.6.37')
replaces=('lirc+pctv')
options=('!makeflags')
install=$pkgname.install
-source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('fb1dcddbc8ca3d03c7f3a2d40cf28b71')
+source=(http://www.lirc.org/software/snapshots/lirc-0.9.0-pre1.tar.bz2
+ #"http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ )
+md5sums=('13ba59178adee4e6be8a9a1966ab3133')
build() {
# configure
- cd ${srcdir}/lirc-${pkgver}
- # see http://bugs.gentoo.org/301321
- #patch -p0 -i ../kernel-2.6.33.patch
- #patch -Np0 -i ../kernel-2.6.35.patch
+ cd ${srcdir}/lirc-0.9.0-pre1
./configure --enable-sandboxed --prefix=/usr \
--with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \
--with-moduledir=/lib/modules/${_kernver}/kernel/drivers/misc \
@@ -46,10 +47,13 @@ build() {
# build
cd drivers
make
+}
+
+package() {
+ cd ${srcdir}/lirc-0.9.0-pre1/drivers
make DESTDIR=${pkgdir} install
# set the kernel we've built for inside the install script
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
${startdir}/lirc.install
}
-
diff --git a/abs/core/lirc/lirc.install b/abs/core/lirc/lirc.install
index 495e505..f22c9b1 100644
--- a/abs/core/lirc/lirc.install
+++ b/abs/core/lirc/lirc.install
@@ -10,7 +10,7 @@ pre_install() {
post_install() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.36-LinHES
+ KERNEL_VERSION=2.6.37-LinHES
depmod -v $KERNEL_VERSION > /dev/null 2>&1
/bin/true
}
@@ -26,7 +26,7 @@ pre_upgrade() {
post_upgrade() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.36-LinHES
+ KERNEL_VERSION=2.6.37-LinHES
depmod -v $KERNEL_VERSION > /dev/null 2>&1
/bin/true
}
@@ -40,7 +40,7 @@ pre_remove() {
post_remove() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.36-LinHES
+ KERNEL_VERSION=2.6.37-LinHES
depmod -v $KERNEL_VERSION > /dev/null 2>&1
/bin/true
}