diff options
author | manu <manu> | 2015-02-27 04:23:43 +0000 |
---|---|---|
committer | manu <manu> | 2015-02-27 04:23:43 +0000 |
commit | 4a30aa8aeec09dc53a164235ff7f3a1cf9a78f24 (patch) | |
tree | 42591ca3d7bf2316d3046a3e4c519320ffe4ad98 | |
parent | b80a03bce9b1c69980f86dc184508b385d4a8eb7 (diff) | |
download | pkgsrc-4a30aa8aeec09dc53a164235ff7f3a1cf9a78f24.tar.gz |
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.
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/cmocka/DESCR | 4 | ||||
-rw-r--r-- | devel/cmocka/Makefile | 23 | ||||
-rw-r--r-- | devel/cmocka/PLIST | 9 | ||||
-rw-r--r-- | devel/cmocka/distinfo | 5 | ||||
-rw-r--r-- | doc/CHANGES-2015 | 3 |
6 files changed, 45 insertions, 2 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3516f981f65..d39c7844140 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/cmocka/DESCR b/devel/cmocka/DESCR new file mode 100644 index 00000000000..6a138e78595 --- /dev/null +++ b/devel/cmocka/DESCR @@ -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. diff --git a/devel/cmocka/Makefile b/devel/cmocka/Makefile new file mode 100644 index 00000000000..42421270e24 --- /dev/null +++ b/devel/cmocka/Makefile @@ -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" diff --git a/devel/cmocka/PLIST b/devel/cmocka/PLIST new file mode 100644 index 00000000000..d8c84f581b3 --- /dev/null +++ b/devel/cmocka/PLIST @@ -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 diff --git a/devel/cmocka/distinfo b/devel/cmocka/distinfo new file mode 100644 index 00000000000..495a90c3073 --- /dev/null +++ b/devel/cmocka/distinfo @@ -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 diff --git a/doc/CHANGES-2015 b/doc/CHANGES-2015 index 9b3719bac00..237c87b2d8a 100644 --- a/doc/CHANGES-2015 +++ b/doc/CHANGES-2015 @@ -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] |