2012-05-11 02:45:15 +00:00
|
|
|
# Template file for 'dmraid'
|
|
|
|
pkgname=dmraid
|
|
|
|
_distver=1.0.0.rc16
|
|
|
|
_patchver=3
|
2012-05-29 13:40:48 +00:00
|
|
|
revision=1
|
2012-05-29 13:42:26 +00:00
|
|
|
version="${_distver}.${_patchver}"
|
2012-05-11 02:45:15 +00:00
|
|
|
wrksrc="${pkgname}"
|
|
|
|
build_wrksrc="${_distver}-${_patchver}/${pkgname}"
|
|
|
|
homepage="http://people.redhat.com/~heinzm/sw/dmraid/"
|
|
|
|
distfiles="${homepage}/src/dmraid-${_distver}-${_patchver}.tar.bz2"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-led --enable-intel_led --enable-shared_lib"
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="device-mapper>=2.02.95_3"
|
2012-05-29 13:40:48 +00:00
|
|
|
makedepends="device-mapper-devel>=2.02.95_3"
|
2012-05-11 02:45:15 +00:00
|
|
|
short_desc="Device mapper RAID interface"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
|
|
|
checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8
|
|
|
|
long_desc="
|
|
|
|
dmraid discovers, activates, deactivates and displays properties of software RAID sets
|
|
|
|
(eg, ATARAID) and contained DOS partitions.
|
|
|
|
|
|
|
|
dmraid uses the Linux device-mapper to create devices with respective mappings
|
|
|
|
for the ATARAID sets discovered.
|
|
|
|
|
|
|
|
The following formats are supported:
|
|
|
|
|
|
|
|
Highpoint HPT37X/HPT45X
|
|
|
|
Intel Software RAID
|
|
|
|
LSI Logic MegaRAID
|
|
|
|
NVidia NForce RAID (nvraid)
|
|
|
|
Promise FastTrack
|
|
|
|
Silicon Image(tm) Medley(tm)
|
|
|
|
VIA Software RAID"
|
|
|
|
|
|
|
|
systemd_services="dmraid.service off"
|
|
|
|
triggers="initramfs-tools"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
|
|
|
# systemd service.
|
|
|
|
vinstall ${FILESDIR}/dmraid.service 644 lib/systemd/system
|
|
|
|
}
|