updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / kni / PKGBUILD
blobce4833d2a03a06ef8cf50edd0bffc4b3b5a3e46d
1 # Maintainer: Lubosz Sarnecki <lubosz at gmail>
3 pkgname=kni
4 pkgver=4.3.0
5 distname=KNI_${pkgver}
6 pkgrel=1
7 pkgdesc='Katana Native Interface Linux, only for FW 2.2.x'
8 arch=('i686' 'x86_64')
9 url='http://www.neuronics.ch'
10 license=('GPL2')
11 depends=()
12 makedepends=()
13 source=(http://www.neuronics.com/cms_de/mediabase/${distname}.tar.gz
14 kni-4.3.0.patch)
15 md5sums=('d4e208d06205a2ce46e52720c1b68eed'
16 '6a2e972b5fc955a973e3a69c50ad3fb0')
17 options=(!makeflags)
19 build() {
20   cd ${srcdir}/${distname}
21   patch -p1 < ../../kni-4.3.0.patch
22   rm include/boost -R
23   make
26 package() {
27   mkdir -p ${pkgdir}/usr/lib/
28   cp -a ${srcdir}/${distname}/lib/linux/*.so ${pkgdir}/usr/lib/
29   cp -a ${srcdir}/${distname}/lib/linux/*.a ${pkgdir}/usr/lib/
31   mkdir -p ${pkgdir}/usr/include/kni
32   cp -R ${srcdir}/${distname}/include/* ${pkgdir}/usr/include/kni