Files
haikuports/dev-libs/check/check-0.9.13.recipe
2015-07-02 11:13:12 -04:00

65 lines
1.3 KiB
Bash

SUMMARY="Unit Testing Framework for C"
DESCRIPTION="
Check is a unit testing framework for C. It features a simple interface for \
defining unit tests, putting little in the way of the developer. Tests are \
run in a separate address space, so both assertion failures and code errors \
that cause segmentation faults or other signals can be caught. Test results \
are reportable in the following: Subunit, TAP, XML, and a generic logging \
format.
"
HOMEPAGE="http://check.sourceforge.net/"
LICENSE="GNU LGPL v2.1"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SOURCE_URI="http://sourceforge.net/projects/check/files/check/$portVersion/check-$portVersion.tar.gz"
CHECKSUM_SHA256="ca6589c34f9c60ffd4c3e198ce581e944a9f040ca9352ed54068dd61bebb5cb7"
COPYRIGHT="xxx"
PROVIDES="
check = $portVersion
cmd:checkmk
lib:libcheck = $portVersion
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
haiku_devel
cmd:awk
cmd:gcc
cmd:make
"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
prepareInstalledDevelLib libcheck
fixPkgconfig
packageEntries devel $developDir
}
TEST()
{
make check
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
check_devel = $portVersion
devel:libcheck = $portVersion
"
REQUIRES_devel="
check == $portVersion base
"