void-packages/srcpkgs/dmraid/template
2021-04-11 00:03:46 -03:00

29 lines
891 B
Bash

# Template file for 'dmraid'
pkgname=dmraid
_distver=1.0.0.rc16
_patchver=3
version="${_distver}.${_patchver}"
revision=12
wrksrc="${pkgname}"
build_wrksrc="${_distver}-${_patchver}/${pkgname}"
build_style=gnu-configure
configure_args="--enable-led --enable-intel_led --enable-shared_lib"
makedepends="device-mapper-devel"
short_desc="Device mapper RAID interface"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://people.redhat.com/~heinzm/sw/dmraid/"
distfiles="${homepage}/src/dmraid-${_distver}-${_patchver}.tar.bz2"
checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8
disable_parallel_build=yes
lib32disabled=yes
dmraid-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}