void-packages/srcpkgs/bcunit/template

24 lines
668 B
Bash

# Template file for 'bcunit'
pkgname=bcunit
version=5.2.0
revision=1
build_style=cmake
configure_args="-DENABLE_DOC=ON"
short_desc="Lightweight unit tests in C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/BelledonneCommunications/bcunit"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=67b9186c42bd91d076b33063a33837dbb11a753eb35ad7ed8db8d65cdf88ef83
bcunit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}