void-packages/srcpkgs/cmocka/template

26 lines
677 B
Bash

# Template file for 'cmocka'
pkgname=cmocka
version=1.1.2
revision=1
build_style=cmake
configure_args="-DUNIT_TESTING=ON"
hostmakedepends="doxygen"
short_desc="Unit testing framework in C"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://cmocka.org/"
distfiles="https://cmocka.org/files/${version%.*}/cmocka-${version}.tar.xz"
checksum=d11cd1e129827ff240a501c1c43557e808de89e8fcd8ab9e963c8db419332bdd
cmocka-devel_package() {
depends="cmocka-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}