New package: cmocka-1.1.1.

This commit is contained in:
maxice8 2018-05-15 18:56:16 -03:00
parent 5983b9efe1
commit a8d5fea6b4
3 changed files with 31 additions and 0 deletions

View file

@ -1445,6 +1445,7 @@ libvlccore.so.9 libvlc-3.0.2_1
libvlc_vdpau.so.0 libvlc-2.2.0_1
libvlc_pulse.so.0 libvlc-3.0.2_1
libvlc_xcb_events.so.0 libvlc-3.0.2_1
libcmocka.so.0 cmocka-1.1.1_1
libbtrfs.so.0 libbtrfs-3.12_1
libecore_audio.so.1 efl-1.12.0_1
libecore_con.so.1 efl-1.12.0_1

1
srcpkgs/cmocka-devel Symbolic link
View file

@ -0,0 +1 @@
cmocka

29
srcpkgs/cmocka/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'cmocka'
pkgname=cmocka
version=1.1.1
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=f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389
case "$XBPS_TARGET_MACHINE" in
aarch64*) broken="conflicting definitions of uinptr_t"
esac
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"
}
}