summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-01-13 22:24:05 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-01-13 22:24:05 (GMT)
commit9a9e9f951475a17193dc46e0f5c822449246cd72 (patch)
treefef18b77c99ee6f1a8ac49d6239820fc279e70e6 /abs/core/lirc/PKGBUILD
parent0bcae6dfc24e333236543070f5b8673d37c5abee (diff)
parent2b48e6775f2116b3a49fb81b5929cc3255f02889 (diff)
downloadlinhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.zip
linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.tar.gz
linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/lirc/PKGBUILD')
-rw-r--r--abs/core/lirc/PKGBUILD30
1 files changed, 17 insertions, 13 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
}
-