check: new package

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2015-09-19 09:41:51 -03:00 committed by Thomas Petazzoni
parent 87f3edecc6
commit 9878cec4e4
4 changed files with 30 additions and 0 deletions

View file

@ -111,6 +111,7 @@ menu "Development tools"
source "package/binutils/Config.in"
source "package/bsdiff/Config.in"
source "package/bustle/Config.in"
source "package/check/Config.in"
source "package/cmake/Config.in"
source "package/cppunit/Config.in"
source "package/cvs/Config.in"

6
package/check/Config.in Normal file
View file

@ -0,0 +1,6 @@
config BR2_PACKAGE_CHECK
bool "check"
help
Check is a unit testing framework for C.
http://check.sourceforge.net/

3
package/check/check.hash Normal file
View file

@ -0,0 +1,3 @@
# From http://sourceforge.net/projects/check/files/check/0.10.0/
md5 53c5e5c77d090e103a17f3ed7fd7d8b8 check-0.10.0.tar.gz
sha1 35d3a53446aea7b21a770faedb358d0fc7cba76d check-0.10.0.tar.gz

20
package/check/check.mk Normal file
View file

@ -0,0 +1,20 @@
################################################################################
#
# check
#
################################################################################
CHECK_VERSION = 0.10.0
CHECK_SITE = http://downloads.sourceforge.net/project/check/check/$(CHECK_VERSION)
CHECK_INSTALL_STAGING = YES
CHECK_DEPENDENCIES = host-pkgconf
CHECK_LICENSE = LGPLv2.1+
CHECK_LICENSE_FILES = COPYING.LESSER
# Having checkmk in the target makes no sense
define CHECK_REMOVE_CHECKMK
rm -f $(TARGET_DIR)/usr/bin/checkmk
endef
CHECK_POST_INSTALL_TARGET_HOOKS += CHECK_REMOVE_CHECKMK
$(eval $(autotools-package))