pkgsrc/devel/cmockery2/Makefile
manu ca69e8ea52 Add cmockery2-1.3.8
Cmockery tests are compiled into a stand-alone executable and linked
with the cmockery library, the standard C library and module being
tested. Any symbols external to the module being tested should be
mocked - replaced with functions that return values determined by
the test - within the test application. Even though significant
differences may exist between the target execution environment of
a code module and the environment used to test the code the unit
testing is still valid since its goal is to test the logic of a
code modules at a functional level and not necessarily all of its
interactions with the target execution environment.

Other features:
- Lightweight C Unit test with mocking support
- JUnit XML report output which can be used with Jenkins
- Provides design-by-contract support

This project is a successor of http://code.google.com/p/cmockery-staging/
which is a successor of Google's http://code.google.com/p/cmockery/.
2014-08-07 11:18:04 +00:00

28 lines
672 B
Makefile

# $NetBSD: Makefile,v 1.1 2014/08/07 11:18:04 manu Exp $
VERS= 1.3.8
PKGNAME= cmockery2-${VERS}
DISTNAME= v${VERS}
CATEGORIES= devel
MASTER_SITES= https://github.com/lpabon/cmockery2/archive/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/lpabon/cmockery2/archive/
COMMENT= Reviving cmockery unit test framework from Google
LICENSE= apache-2.0
FETCH_USING= curl
WRKSRC= ${WRKDIR}/cmockery2-${VERS}
AUTOMAKE_REQD= 1.9
USE_TOOLS+= pkg-config gmake m4 autoconf automake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= cmockery2.pc.in
pre-configure:
set -e; cd ${WRKSRC} ; sh ./autogen.sh
.include "../../mk/bsd.pkg.mk"