void-packages/srcpkgs/dmraid/template

29 lines
855 B
Bash

# Template file for 'dmraid'
pkgname=dmraid
version=1.0.0.rc16.3
revision=12
_distver="${version%.*}-${version##*.}"
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
}
}