diff options
Diffstat (limited to 'sys-process/rtirq/rtirq-20180209.ebuild')
-rw-r--r-- | sys-process/rtirq/rtirq-20180209.ebuild | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sys-process/rtirq/rtirq-20180209.ebuild b/sys-process/rtirq/rtirq-20180209.ebuild deleted file mode 100644 index f51c09b09172..000000000000 --- a/sys-process/rtirq/rtirq-20180209.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit linux-info systemd - -DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers" -HOMEPAGE="https://www.rncbc.org/archive/#rtirq" -SRC_URI="https://www.rncbc.org/archive/old/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_prepare() { - get_version - - # Correct config file path. - sed -i -e "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" ${PN}.sh || die - sed -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" ${PN}.conf || die - - default -} - -src_install() { - dosbin rtirq.sh - doinitd "${FILESDIR}"/rtirq - newconfd rtirq.conf rtirq - systemd_dounit rtirq.service -} - -pkg_postinst() { - if [[ ${KV_LOCAL} != *rt* ]] ; then - elog "To use rtirq you need a realtime kernel." - elog "Realtime kernel sources are supplied in sys-kernel/rt-sources." - fi -} |