1 # Maintainer: Alec Ari <neotheuser@ymail.com>
6 pkgdesc="RTAI userspace"
7 #Remove 64-bit support for now
11 url="https://www.rtai.org"
12 depends=('rtai-kernel')
14 source=(99-rtai.rules limits.conf rtai.config)
15 md5sums=('6b57bd74df5722dc83663ecc8178de10'
16 '3239210e74bcd17e4a57235baf4f9cc2'
17 '61d9091f0211fe11ba567be65a8668a8')
22 cvs -d:pserver:anonymous@cvs.gna.org:/cvs/rtai co magma
24 #DO NOT uncomment the make menuconfig line unless you know what you are doing
25 #make menuconfig || return 1
26 cp -PR $srcdir/rtai.config .rtai_config
28 make install DESTDIR=${pkgdir} || return 1
29 #the real install dies due to a symlink so we need these three lines
30 rm -rf $pkgdir/usr/realtime/include/asm
31 mkdir -p $pkgdir/usr/realtime/include/asm
32 cp -PR base/include/asm-i386/* $pkgdir/usr/realtime/include/asm/
35 mkdir -p $pkgdir/etc/security
36 cp $srcdir/limits.conf $pkgdir/etc/security/limits.conf
37 #Set udev rule for access to rtai_shm and rtai_fifos
38 mkdir -p $pkgdir/etc/udev
39 mkdir -p $pkgdir/etc/udev/rules.d
40 cp -PR $srcdir/99-rtai.rules $pkgdir/etc/udev/rules.d/