2017-02-08 22:37:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# dieharder
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-12-27 23:00:17 +01:00
|
|
|
DIEHARDER_VERSION = 3.31.1.4
|
|
|
|
DIEHARDER_SITE = $(call github,eddelbuettel,dieharder,$(DIEHARDER_VERSION))
|
2017-02-08 22:37:52 +01:00
|
|
|
DIEHARDER_LICENSE = GPL-2.0 with beverage clause
|
|
|
|
DIEHARDER_LICENSE_FILES = COPYING
|
|
|
|
DIEHARDER_DEPENDENCIES = gsl
|
2022-12-27 23:00:17 +01:00
|
|
|
# configure retrieved from git is outdated
|
2017-02-08 22:37:52 +01:00
|
|
|
DIEHARDER_AUTORECONF = YES
|
|
|
|
|
|
|
|
# fix endianness detection
|
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
|
|
|
DIEHARDER_CONF_ENV = ac_cv_c_endian=big
|
|
|
|
else
|
|
|
|
DIEHARDER_CONF_ENV = ac_cv_c_endian=little
|
|
|
|
endif
|
|
|
|
|
|
|
|
# parallel build fail, disable it
|
|
|
|
DIEHARDER_MAKE = $(MAKE1)
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|