2018-05-15 23:56:16 +02:00
|
|
|
# Template file for 'cmocka'
|
|
|
|
pkgname=cmocka
|
2018-09-28 01:47:22 +02:00
|
|
|
version=1.1.3
|
2018-08-29 18:25:59 +02:00
|
|
|
revision=1
|
2018-05-15 23:56:16 +02:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DUNIT_TESTING=ON"
|
2019-02-03 13:51:58 +01:00
|
|
|
# Generated build/CMakeDoxygenDefaults.cmake is broken:
|
|
|
|
# It contains a filename "\makeindex"
|
|
|
|
# hostmakedepends="doxygen graphviz"
|
2018-05-15 23:56:16 +02:00
|
|
|
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"
|
2018-09-28 01:47:22 +02:00
|
|
|
checksum=43eabcf72a9c80e3d03f7c8a1c04e408c18d2db5121eb058a3ef732a9dfabfaf
|
2018-05-15 23:56:16 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|