64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = mdadm
|
|
version = 4.2
|
|
release = 2
|
|
|
|
groups = System/Base
|
|
url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
|
license = GPLv2+
|
|
summary = The mdadm program controls Linux md devices (software RAID arrays).
|
|
|
|
description
|
|
The mdadm program is used to create, manage, and monitor Linux MD (software
|
|
RAID) devices. As such, it provides similar functionality to the raidtools
|
|
package. However, mdadm is a single program, and it can perform
|
|
almost all functions without a configuration file, though a configuration
|
|
file can be used to help with some common tasks.
|
|
end
|
|
|
|
source_dl = https://www.kernel.org/pub/linux/utils/raid/mdadm/
|
|
sources = %{thisapp}.tar.xz
|
|
|
|
build
|
|
requires
|
|
libudev-devel
|
|
groff
|
|
end
|
|
|
|
CFLAGS += -fno-strict-aliasing
|
|
|
|
prepare_cmds
|
|
sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
|
|
end
|
|
|
|
build
|
|
make %{PARALLELISMFLAGS} \
|
|
CXFLAGS="%{CFLAGS}" \
|
|
CWFLAGS= \
|
|
SYSCONFDIR="%{sysconfdir}" \
|
|
MDASSEMBLE_AUTO=1
|
|
end
|
|
|
|
make_install_targets += \
|
|
install-systemd \
|
|
BINDIR=%{sbindir} \
|
|
UDEVDIR=%{prefix}/%{lib}/udev \
|
|
SYSTEMD_DIR="%{unitdir}"
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|