Merge pull request #1726 from thypon/irqbalancefix
moved to usr/bin + removed systemd support
This commit is contained in:
commit
98470c92c4
|
@ -1,8 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=IRQ Balancer daemon
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/sbin/irqbalance --foreground
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'irqbalance'
|
# Template file for 'irqbalance'
|
||||||
pkgname=irqbalance
|
pkgname=irqbalance
|
||||||
version=1.0.9
|
version=1.0.9
|
||||||
revision=1
|
revision=3
|
||||||
build_options="systemd"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
|
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
|
||||||
|
@ -12,13 +11,11 @@ license="GPL-2"
|
||||||
homepage="https://github.com/Irqbalance/irqbalance"
|
homepage="https://github.com/Irqbalance/irqbalance"
|
||||||
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
|
||||||
checksum=f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3
|
checksum=f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3
|
||||||
|
configure_args="--sbindir=/usr/bin"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv ${pkgname}
|
vsv ${pkgname}
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue