package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / haserl / haserl.mk
blob93d64c87329f7afba1bad7856438f15df42f569c
1 ################################################################################
3 # haserl
5 ################################################################################
7 HASERL_VERSION = 0.9.35
8 HASERL_SITE = http://downloads.sourceforge.net/project/haserl/haserl-devel
9 HASERL_LICENSE = GPLv2
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"
20 endif
22 else
23 HASERL_CONF_OPTS += --without-lua
24 endif
26 define HASERL_REMOVE_EXAMPLES
27 rm -rf $(TARGET_DIR)/usr/share/haserl
28 endef
30 HASERL_POST_INSTALL_TARGET_HOOKS += HASERL_REMOVE_EXAMPLES
32 $(eval $(autotools-package))