1 # Maintainer: Joakim Hernberg <jbh at alchemy dot lu>
5 pkgdesc="A collection of tools for testing the -rt patched kernel"
7 url="http://rt.wiki.kernel.org/"
9 depends=(python2 numactl)
12 _gitroot="https://github.com/clrkwllms/rt-tests.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
32 sed 's/shell python/shell python2/g' -i Makefile
38 cd "$srcdir/$_gitname-build"
39 make prefix=/usr DESTDIR="$pkgdir/" install