26 lines
833 B
Bash
26 lines
833 B
Bash
# Template file for 'dmraid'
|
|
pkgname=dmraid
|
|
_distver=1.0.0.rc16
|
|
_patchver=3
|
|
revision=8
|
|
version="${_distver}.${_patchver}"
|
|
wrksrc="${pkgname}"
|
|
build_wrksrc="${_distver}-${_patchver}/${pkgname}"
|
|
build_style=gnu-configure
|
|
configure_args="--sbindir=/usr/bin --enable-led --enable-intel_led --enable-shared_lib"
|
|
makedepends="device-mapper-devel"
|
|
lib32disabled=yes
|
|
short_desc="Device mapper RAID interface"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://people.redhat.com/~heinzm/sw/dmraid/"
|
|
distfiles="${homepage}/src/dmraid-${_distver}-${_patchver}.tar.bz2"
|
|
checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/include
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
|
# systemd service.
|
|
vinstall ${FILESDIR}/dmraid.service 644 usr/lib/systemd/system
|
|
}
|