mdadm: fix installation; install systemd services.

This commit is contained in:
Juan RP 2014-07-08 12:22:08 +02:00
parent 8840aead3f
commit 7feaeac2ad

View file

@ -1,7 +1,7 @@
# Template file for 'mdadm'
pkgname=mdadm
version=3.3.1
revision=1
revision=2
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
@ -13,6 +13,7 @@ distfiles="ftp://ftp.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${ver
checksum=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
do_install() {
make CC=${CC} BINDIR=/usr/sbin STRIP=-s
make CC=$CC BINDIR=/usr/sbin STRIP= PREFIX=/usr \
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install install-systemd
vsconf mdadm.conf-example mdadm.conf
}