void-packages/srcpkgs/dmraid/template
2021-06-21 18:10:56 +02:00

29 lines
875 B
Bash

# Template file for 'dmraid'
pkgname=dmraid
version=1.0.0.rc16.3
revision=12
_distver="${version%.*}-${version##*.}"
wrksrc="${pkgname}"
build_wrksrc="${_distver}/${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}.tar.bz2"
checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8
disable_parallel_build=yes
lib32disabled=yes
patch_args=-Np0
dmraid-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}