mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
mdadm: remove systemd build option (#1736)
This commit is contained in:
parent
6c6ee67566
commit
8a223e5d8e
1 changed files with 2 additions and 8 deletions
|
@ -1,9 +1,8 @@
|
||||||
# Template file for 'mdadm'
|
# Template file for 'mdadm'
|
||||||
pkgname=mdadm
|
pkgname=mdadm
|
||||||
version=3.3.2
|
version=3.3.2
|
||||||
revision=7
|
revision=8
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_options="systemd"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libudev-devel"
|
makedepends="libudev-devel"
|
||||||
short_desc="A tool for managing/monitoring Linux md device arrays"
|
short_desc="A tool for managing/monitoring Linux md device arrays"
|
||||||
|
@ -21,11 +20,6 @@ do_build() {
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make BINDIR=/usr/bin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install
|
make BINDIR=/usr/bin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
if [ "$build_option_systemd" ]; then
|
vsv mdadm
|
||||||
make BINDIR=/usr/bin STRIP= PREFIX=/usr \
|
|
||||||
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install-systemd
|
|
||||||
else
|
|
||||||
vsv mdadm
|
|
||||||
fi
|
|
||||||
vsconf mdadm.conf-example mdadm.conf
|
vsconf mdadm.conf-example mdadm.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue