### this file is sourced not run
PKGVER=2015.02.16
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=rtirq-20150216.tar.gz
MD5SUM=59e8b012c16b1e879ce8648f537400c5
SRC_URL=http://www.rncbc.org/jack/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC='rtirq: rtirq 2015.02.16 (Linux real-time kernel IRQ management)
rtirq: 
rtirq: The rtirq script is a bash script written by Rui Nuno Capela which 
rtirq: works in conjunction with the realtime kernel patch by Ingo Molnar. 
rtirq: The script takes advantage of the fact that realtime kernels use 
rtirq: threads for IRQs management, and as such these threads (like any 
rtirq: other thread running on your system) can be given maximum priority in 
rtirq: an effort to minimize the latency of audio peripherals.
rtirq: 
rtirq: http://alsa.opensrc.org/Rtirq
rtirq:
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	install -m755 $CHROOT_DIR/tmp/pkg/ps-rt.sh usr/bin
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/rtirq*
	mkdir -p /etc/init.d &&
	install -m0755 rtirq.sh /etc/init.d/99-rtirq &&
	install -m0644 rtirq.conf /etc &&
	pkg_build_slackdesc
}
