pkgsrc/devel/cmocka/Makefile
mef 1e5f487228 (devel/cmocka) Updated 1.1.3 to 1.1.5
Thu Mar 28 2019 Andreas Schneider <asn@cryptomilk.org>
    * cmocka version 1.1.5
    * Added cmocka_set_skip_filter()

Thu Mar 28 2019 Andreas Schneider <asn@cryptomilk.org>
    * cmocka version 1.1.4
    * Added assert_float(_not)_equal()
    * Added expect_any_always()
    * Small bug fixes
2019-11-23 07:23:57 +00:00

25 lines
646 B
Makefile

# $NetBSD: Makefile,v 1.8 2019/11/23 07:23:57 mef Exp $
DISTNAME= cmocka-1.1.5
CATEGORIES= devel
MASTER_SITES= https://cmocka.org/files/${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://cmocka.org/
COMMENT= Unit testing framework for C supporing mock objects
LICENSE= apache-2.0
USE_CMAKE= yes
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
# GCC 4.3/4.4 provides wrong warnings:
# cmocka.c:3281: error: 'setup_name' may be used uninitialized in this function
CMAKE_ARGS+= -DWITH_WERROR_UNINITIALIZED_FLAG=0
post-extract:
${MKDIR} ${WRKDIR}/build
.include "../../mk/bsd.pkg.mk"