check: update to version 0.15.2 master
authorAchim Gratz <Achim.Gratz@Stromeko.DE>
Sun, 3 Jan 2021 10:21:55 +0000 (11:21 +0100)
committerAchim Gratz <Achim.Gratz@Stromeko.DE>
Sun, 3 Jan 2021 10:21:55 +0000 (11:21 +0100)
check.cygport

index 8b1ada6959ac79517db7791563c0fb448832bccd..b7f08dad33c214c2fcc2740fc2c1df13281c81be 100644 (file)
@@ -1,6 +1,7 @@
+# -*- mode: sh; sh-shell: bash -*-
 NAME="check"
-VERSION=0.10.0
-RELEASE=1
+VERSION="0.15.2"
+RELEASE="1"
 CATEGORY="Devel"
 SUMMARY="Unit test framework for C"
 DESCRIPTION="Check is a unit test framework for C. It features a simple
@@ -9,9 +10,7 @@ Tests are run in a separate address space, so Check can catch both assertion
 failures and code errors that cause segmentation faults or other signals. The
 output from unit tests can be used within source code editors and IDEs."
 HOMEPAGE="https://libcheck.github.io/check/"
-SRC_URI="https://github.com/libcheck/check/releases/download/${VERSION}/check-${VERSION}.tar.gz"
-
-DIFF_EXCLUDES="check.h"
+SRC_URI="https://github.com/libcheck/check/releases/download/${VERSION}/${P}.tar.gz"
 
 # Using -ansi prevents <sys/features.h> (included by <unistd.h>) from
 # defining _POSIX_VERSION and friends which the code uses to determine
@@ -21,3 +20,22 @@ CYGCONF_ARGS="
        ac_cv_cflags_warn_all_ansi=-Wall
        ac_cv_cxxflags_warn_all_ansi=-Wall
 "
+# checkmk tests fail inn out-of-tree build
+DIFF_EXCLUDES="check* checkmk doc lib src tests"
+
+src_compile() {
+        cd ${S}
+        cygautoreconf
+        cygconf
+        cygmake V=0
+}
+
+src_install() {
+        cd ${S}
+        cyginstall
+}
+
+src_test() {
+        cd ${S}
+        cygtest
+}
This page took 0.034923 seconds and 5 git commands to generate.