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