blob: 63b6895087fc9b71ea6285f3e059132fd4fd5dd5 [file] [log] [blame]
################################################################################
#
# libenca
#
################################################################################
LIBENCA_VERSION = 1.19
LIBENCA_SITE = http://dl.cihar.com/enca
LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.xz
LIBENCA_INSTALL_STAGING = YES
LIBENCA_LICENSE = GPL-2.0
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
LIBENCA_PRE_BUILD_HOOKS += LIBENCA_MAKE_HOST_TOOL
$(eval $(autotools-package))