void-packages/srcpkgs/cmocka/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

26 lines
757 B
Bash

# Template file for 'cmocka'
pkgname=cmocka
version=1.1.5
revision=1
build_style=cmake
configure_args="-DUNIT_TESTING=ON"
# Generated build/CMakeDoxygenDefaults.cmake is broken:
# It contains a filename "\makeindex"
# hostmakedepends="doxygen graphviz"
short_desc="Unit testing framework in C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://cmocka.org/"
distfiles="https://cmocka.org/files/${version%.*}/cmocka-${version}.tar.xz"
checksum=f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6
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"
}
}