mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
23
package/kyua/Config.in
Normal file
23
package/kyua/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_KYUA
|
||||
bool "kyua"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER # lutok
|
||||
depends on !BR2_PACKAGE_LUAJIT # lutok
|
||||
depends on !BR2_STATIC_LIBS # lutok
|
||||
depends on BR2_USE_MMU # atf
|
||||
select BR2_PACKAGE_ATF
|
||||
select BR2_PACKAGE_LUTOK
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
Kyua is a testing framework for infrastructure software,
|
||||
originally designed to equip BSD-based operating systems
|
||||
with a test suite. This means that Kyua is lightweight
|
||||
and simple, and that Kyua integrates well with various build
|
||||
systems and continuous integration frameworks.
|
||||
|
||||
https://github.com/jmmv/kyua
|
||||
|
||||
comment "kyua needs a toolchain w/ C++, dynamic library and full Lua"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_PACKAGE_LUAJIT || BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
||||
depends on BR2_USE_MMU
|
||||
2
package/kyua/kyua.hash
Normal file
2
package/kyua/kyua.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 2b8b64a458b642df75086eeb73e8073d105b8d9cff04c9b1a905b68bc8502560 kyua-0.11.tar.gz
|
||||
27
package/kyua/kyua.mk
Normal file
27
package/kyua/kyua.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# kyua
|
||||
#
|
||||
################################################################################
|
||||
|
||||
KYUA_VERSION = 0.11
|
||||
KYUA_SITE = https://github.com/jmmv/kyua/releases/download/kyua-$(KYUA_VERSION)
|
||||
KYUA_DEPENDENCIES = host-pkgconf atf lutok sqlite
|
||||
KYUA_CONF_OPTS = --without-doxygen --without-atf
|
||||
KYUA_LICENSE = BSD-3-Clause
|
||||
KYUA_LICENSE_FILES = COPYING
|
||||
KYUA_CONF_ENV = \
|
||||
kyua_cv_attribute_noreturn=yes \
|
||||
kyua_cv_getcwd_dyn=yes \
|
||||
kyua_cv_lchmod_works=no \
|
||||
kyua_cv_getopt_gnu=yes \
|
||||
kyua_cv_getopt_optind_reset_value=0 \
|
||||
kyua_cv_signals_lastno=15
|
||||
|
||||
define KYUA_INSTALL_CONFIG
|
||||
$(INSTALL) -D -m 644 $(@D)/examples/kyua.conf $(TARGET_DIR)/etc/kyua/kyua.conf
|
||||
endef
|
||||
|
||||
KYUA_POST_INSTALL_HOOKS += KYUA_INSTALL_CONFIG
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user