2014-01-26 22:38:59 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libenca
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBENCA_VERSION = 1.15
|
|
|
|
LIBENCA_SITE = $(call github,nijel,enca,$(LIBENCA_VERSION))
|
|
|
|
LIBENCA_INSTALL_STAGING = YES
|
|
|
|
LIBENCA_AUTORECONF = YES
|
|
|
|
LIBENCA_LICENSE = GPLv2
|
|
|
|
LIBENCA_LICENSE_FILES = COPYING
|
|
|
|
LIBENCA_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
|
|
|
LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes \
|
|
|
|
ac_cv_file__dev_urandom=yes \
|
|
|
|
ac_cv_file__dev_arandom=no \
|
|
|
|
ac_cv_file__dev_srandom=no
|
|
|
|
|
|
|
|
define LIBENCA_MAKE_HOST_TOOL
|
|
|
|
$(MAKE) -C $(@D)/tools $(HOST_CONFIGURE_OPTS) make_hash
|
|
|
|
endef
|
|
|
|
|
2014-03-08 11:08:45 +01:00
|
|
|
LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
|
2014-01-26 22:38:59 +01:00
|
|
|
|
|
|
|
$(eval $(autotools-package))
|