1 ################################################################################
5 ################################################################################
7 HASERL_VERSION
= 0.9.35
8 HASERL_SITE
= http
://downloads.sourceforge.net
/project
/haserl
/haserl-devel
10 HASERL_LICENSE_FILES
= COPYING
11 HASERL_DEPENDENCIES
= host-pkgconf
13 ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA
),y
)
14 HASERL_CONF_OPTS
+= --with-lua
15 HASERL_DEPENDENCIES
+= lua
17 # liblua uses dlopen when dynamically linked
18 ifneq ($(BR2_STATIC_LIBS
),y
)
19 HASERL_CONF_ENV
+= LIBS
="-ldl"
23 HASERL_CONF_OPTS
+= --without-lua
26 define HASERL_REMOVE_EXAMPLES
27 rm -rf
$(TARGET_DIR
)/usr
/share
/haserl
30 HASERL_POST_INSTALL_TARGET_HOOKS
+= HASERL_REMOVE_EXAMPLES
32 $(eval
$(autotools-package
))