2014-01-26 22:38:59 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libenca
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-09-06 04:56:02 +02:00
|
|
|
LIBENCA_VERSION = 1.19
|
|
|
|
LIBENCA_SITE = http://dl.cihar.com/enca
|
|
|
|
LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.xz
|
2014-01-26 22:38:59 +01:00
|
|
|
LIBENCA_INSTALL_STAGING = YES
|
2017-03-30 15:43:32 +02:00
|
|
|
LIBENCA_LICENSE = GPL-2.0
|
2014-01-26 22:38:59 +01:00
|
|
|
LIBENCA_LICENSE_FILES = COPYING
|
|
|
|
LIBENCA_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2014-12-30 08:36:23 +01:00
|
|
|
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
|
2014-01-26 22:38:59 +01:00
|
|
|
|
|
|
|
define LIBENCA_MAKE_HOST_TOOL
|
|
|
|
$(MAKE) -C $(@D)/tools $(HOST_CONFIGURE_OPTS) make_hash
|
|
|
|
endef
|
|
|
|
|
2014-05-05 15:24:07 +02:00
|
|
|
LIBENCA_PRE_BUILD_HOOKS += LIBENCA_MAKE_HOST_TOOL
|
2014-01-26 22:38:59 +01:00
|
|
|
|
|
|
|
$(eval $(autotools-package))
|