mdadm: remove systemd build option (#1736)

This commit is contained in:
beefcurtains 2015-07-01 08:08:47 +00:00
parent 6c6ee67566
commit 8a223e5d8e

View file

@ -1,9 +1,8 @@
# Template file for 'mdadm'
pkgname=mdadm
version=3.3.2
revision=7
revision=8
build_pie=yes
build_options="systemd"
hostmakedepends="pkg-config"
makedepends="libudev-devel"
short_desc="A tool for managing/monitoring Linux md device arrays"
@ -21,11 +20,6 @@ do_build() {
}
do_install() {
make BINDIR=/usr/bin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install
if [ "$build_option_systemd" ]; then
make BINDIR=/usr/bin STRIP= PREFIX=/usr \
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install-systemd
else
vsv mdadm
fi
vsv mdadm
vsconf mdadm.conf-example mdadm.conf
}