summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lirc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/lirc/PKGBUILD')
-rw-r--r--abs/core-testing/lirc/PKGBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/abs/core-testing/lirc/PKGBUILD b/abs/core-testing/lirc/PKGBUILD
deleted file mode 100644
index 8c3b5a6..0000000
--- a/abs/core-testing/lirc/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 80419 2010-05-17 08:09:39Z tpowa $
-# Maintainer: Paul Mattal <paul@archlinux.org>
-
-pkgname=lirc
-pkgver=0.8.6
-pkgrel=5
-_kernver=2.6.34-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.6' 'kernel26>=2.6.34' 'kernel26<2.6.35')
-makedepends=('help2man' 'kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35')
-replaces=('lirc+pctv')
-options=('!makeflags')
-install=$pkgname.install
-source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'kernel-2.6.33.patch')
-md5sums=('4ca24da6f5e7c2dcea74878c27a4a3f7'
- 'f029698154cf32bc51e5e69879d53a12')
-
-build() {
- # configure
- cd ${srcdir}/lirc-${pkgver} || return 1
- # see http://bugs.gentoo.org/301321
- patch -p0 -i ../kernel-2.6.33.patch || return 1
- ./configure --enable-sandboxed --prefix=/usr \
- --with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \
- --with-moduledir=/lib/modules/${_kernver}/kernel/drivers/misc \
- --with-transmitter \
- || return 1
-
- # 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 \
- || 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=${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
-}