void-packages/srcpkgs/mdadm/template

20 lines
703 B
Text
Raw Normal View History

2014-07-06 15:06:57 +00:00
# Template file for 'mdadm'
pkgname=mdadm
version=3.3.1
revision=2
2014-07-06 15:06:57 +00:00
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="eudev-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=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
do_install() {
make CC=$CC BINDIR=/usr/sbin STRIP= PREFIX=/usr \
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install install-systemd
2014-07-06 15:06:57 +00:00
vsconf mdadm.conf-example mdadm.conf
}