Import cmocka-1.0.0, the successo of cmockery

cmocka is an elegant unit testing framework for C with support for
mock objects. It only requires the standard C library, works on a
range of computing platforms (including embedded) and with different
compilers.
This commit is contained in:
manu 2015-02-27 04:23:43 +00:00
parent 62023d1308
commit 06703964d1
6 changed files with 45 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2058 2015/02/26 07:12:08 jnemeth Exp $
# $NetBSD: Makefile,v 1.2059 2015/02/27 04:24:48 manu Exp $
#
COMMENT= Development utilities
@ -121,6 +121,7 @@ SUBDIR+= clisp-zlib
SUBDIR+= cmake
SUBDIR+= cmake-fedora
SUBDIR+= cmake-mode
SUBDIR+= cmocka
SUBDIR+= cmockery2
SUBDIR+= cmph
SUBDIR+= coccinelle

4
devel/cmocka/DESCR Normal file
View file

@ -0,0 +1,4 @@
cmocka is an elegant unit testing framework for C with support for
mock objects. It only requires the standard C library, works on a
range of computing platforms (including embedded) and with different
compilers.

23
devel/cmocka/Makefile Normal file
View file

@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.1 2015/02/27 04:23:43 manu Exp $
DISTNAME= cmocka-1.0.0
CATEGORIES= devel
MASTER_SITES= https://cmocka.org/files/1.0/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://cmocka.org/files/1.0/
COMMENT= Unit testing framework for C supporing mock objects
LICENSE= apache-2.0
FETCH_USING= curl
USE_CMAKE= yes
WRKSRC= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKDIR}/${DISTNAME}
pre-configure:
mkdir -p ${WRKSRC}
rm -f ${WRKDIR}/${DISTNAME}/CMakeCache.txt
.include "../../mk/bsd.pkg.mk"

9
devel/cmocka/PLIST Normal file
View file

@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2015/02/27 04:23:43 manu Exp $
include/cmocka.h
include/cmocka_pbc.h
lib/cmake/cmocka/cmocka-config-version.cmake
lib/cmake/cmocka/cmocka-config.cmake
lib/libcmocka.so
lib/libcmocka.so.0
lib/libcmocka.so.0.3.0
lib/pkgconfig/cmocka.pc

5
devel/cmocka/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/02/27 04:23:43 manu Exp $
SHA1 (cmocka-1.0.0.tar.xz) = c1b6bdab164b2d54c26edacef9b9308e4de154f9
RMD160 (cmocka-1.0.0.tar.xz) = e8e79a9cd50aff9af814d0804066c92d53f1cc88
Size (cmocka-1.0.0.tar.xz) = 184016 bytes

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2015,v 1.1054 2015/02/27 02:55:08 wen Exp $
$NetBSD: CHANGES-2015,v 1.1055 2015/02/27 04:24:48 manu Exp $
Changes to the packages collection and infrastructure in 2015:
@ -1511,3 +1511,4 @@ Changes to the packages collection and infrastructure in 2015:
Updated math/p5-Math-GMP to 2.07 [mef 2015-02-27]
Added security/p5-Crypt-DH-GMP version 0.00012 [mef 2015-02-27]
Updated www/p5-Mojolicious to 6.0 [wen 2015-02-27]
Added devel/cmocka version 1.0.0.0 [manu 2015-02-27]