From c8a8faef555ddb35e9c28084584212d6d15ef3a8 Mon Sep 17 00:00:00 2001 From: piernov Date: Thu, 19 Jan 2012 21:46:41 +0100 Subject: rtirq 20111007-1 ajout port > Script de configuration pour kernel-rt --- rtirq/Pkgfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 rtirq/Pkgfile (limited to 'rtirq/Pkgfile') diff --git a/rtirq/Pkgfile b/rtirq/Pkgfile new file mode 100644 index 0000000..8bc3437 --- /dev/null +++ b/rtirq/Pkgfile @@ -0,0 +1,25 @@ +# Description: Script de configuration automatique des priorités temps réel. +# URL: http://www.rncbc.org/jack/#rtirq +# Maintainer: piernov +# Packager: piernov +# Depends on: +# Run on: + +name=rtirq +version=20111007 +release=1 +source=(http://www.rncbc.org/jack/$name-$version.tar.gz) + +build() { + cd $name-$version + mkdir -p $PKG/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d} + install -m644 rtirq.conf $PKG/etc/rtirq.conf + install -m755 rtirq.sh $PKG/etc/rc.d/init.d/$name + + for i in 0 1 6 + do ln -s ../init.d/$name $PKG/etc/rc.d/rc${i}.d/K90$name + done + for i in 2 3 4 5 + do ln -s ../init.d/$name $PKG/etc/rc.d/rc${i}.d/S10$name + done +} -- cgit v1.2.3-70-g09d2