2018-05-15 23:56:16 +02:00
|
|
|
# Template file for 'cmocka'
|
|
|
|
pkgname=cmocka
|
|
|
|
version=1.1.1
|
2018-07-08 00:33:51 +02:00
|
|
|
revision=2
|
2018-05-15 23:56:16 +02:00
|
|
|
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=f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|