1 # Contributor: bountykiller <masse.nicolas@gmail.com>
2 # Contributor: Georgios Tsalikis <aliverius@tsalikis.net>
3 # Contributor: Jesse Jaara <gmail.com: jesse.jaara>
8 pkgdesc="Kernel module providing the IPC for DirectFB multi-app, FusionSound & FusionDale"
10 url="http://www.directfb.org"
13 makedepends=('kernel26-headers')
14 install=$pkgname.install
15 source=(http://www.directfb.org/downloads/Core/$pkgname/$pkgname-$pkgver.tar.gz
17 md5sums=('0993c7f5302ebbce30986776e2d70c0c'
18 '3c78337fceaa897d536a93ae840cdd19')
21 ### To build for a kernel, other than the one in use ###
22 ### Please set its name here. ###
28 cd $startdir/src/$pkgname-$pkgver/
30 make KERNEL_VERSION="${kversion}" modules
35 install -D -m644 "${srcdir}/${pkgname}-${pkgver}/linux/drivers/char/fusion/fusion.ko" \
36 "${pkgdir}/lib/modules/${kversion}/kernel/drivers/char/fusion.ko"
37 gzip "${pkgdir}/lib/modules/${kversion}/kernel/drivers/char/fusion.ko"
38 install -D -m644 "${srcdir}/${pkgname}-${pkgver}/linux/include/linux/fusion.h" "${pkgdir}/usr/include/linux/fusion.h"
39 install -D -m644 "${srcdir}/30-fusion.rules" "${pkgdir}/etc/udev/rules.d/30-fusion.rules"