kumquat-buildroot/package/libenca/libenca.mk
Maxime Hadjinlian a95d9e19c5 libenca: new package
Extremely Naive Charset Analyser.

This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: drop libiconv dep, tools patch, simplify host tools build]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-28 20:15:03 +01:00

27 lines
758 B
Makefile

################################################################################
#
# 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
LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
$(eval $(autotools-package))