diff options
author | manu <manu> | 2015-02-27 04:23:43 +0000 |
---|---|---|
committer | manu <manu> | 2015-02-27 04:23:43 +0000 |
commit | d706bc553881d773bf5f550e5dde054a1e528989 (patch) | |
tree | 42591ca3d7bf2316d3046a3e4c519320ffe4ad98 /devel | |
parent | 3c670a5bc7e9289df236dc8edbfb820e802a3c50 (diff) | |
download | pkgsrc-d706bc553881d773bf5f550e5dde054a1e528989.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.
Diffstat (limited to 'devel')
-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 |
5 files changed, 43 insertions, 1 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 |