void-packages/srcpkgs/mdadm/template
2014-09-06 16:00:17 +02:00

19 lines
697 B
Text

# Template file for 'mdadm'
pkgname=mdadm
version=3.3.2
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libudev-devel"
short_desc="A tool for managing/monitoring Linux md device arrays"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://neil.brown.name/blog/mdadm"
distfiles="ftp://ftp.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=0f3a7e1a76b13892b79f9fceaf99ecb23513260389a768ac644ffa3ae06e5b8c
do_install() {
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
}