check: update to version 0.15.2
[git/cygwin-packages/check.git] / check.cygport
CommitLineData
19f20f92 1# -*- mode: sh; sh-shell: bash -*-
c9a44d86 2NAME="check"
19f20f92
AG
3VERSION="0.15.2"
4RELEASE="1"
c9a44d86
YS
5CATEGORY="Devel"
6SUMMARY="Unit test framework for C"
7DESCRIPTION="Check is a unit test framework for C. It features a simple
8interface for defining unit tests, putting little in the way of the developer.
9Tests are run in a separate address space, so Check can catch both assertion
10failures and code errors that cause segmentation faults or other signals. The
11output from unit tests can be used within source code editors and IDEs."
07dc885d 12HOMEPAGE="https://libcheck.github.io/check/"
19f20f92 13SRC_URI="https://github.com/libcheck/check/releases/download/${VERSION}/${P}.tar.gz"
96808811 14
c9a44d86
YS
15# Using -ansi prevents <sys/features.h> (included by <unistd.h>) from
16# defining _POSIX_VERSION and friends which the code uses to determine
17# if POSIX APIs are available
18CYGCONF_ARGS="
07dc885d 19 --enable-static
c9a44d86
YS
20 ac_cv_cflags_warn_all_ansi=-Wall
21 ac_cv_cxxflags_warn_all_ansi=-Wall
22"
19f20f92
AG
23# checkmk tests fail inn out-of-tree build
24DIFF_EXCLUDES="check* checkmk doc lib src tests"
25
26src_compile() {
27 cd ${S}
28 cygautoreconf
29 cygconf
30 cygmake V=0
31}
32
33src_install() {
34 cd ${S}
35 cyginstall
36}
37
38src_test() {
39 cd ${S}
40 cygtest
41}
This page took 0.033629 seconds and 5 git commands to generate.