b64cde6079
It'll be a year for the 2015.02 release so remove the old/deprecated 0.8.x version for the release. Also update hash to match sourceforge (original) one. And rename patch to new naming convention. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
791 B
Makefile
33 lines
791 B
Makefile
################################################################################
|
|
#
|
|
# haserl
|
|
#
|
|
################################################################################
|
|
|
|
HASERL_VERSION = 0.9.33
|
|
HASERL_SITE = http://downloads.sourceforge.net/project/haserl/haserl-devel
|
|
HASERL_LICENSE = GPLv2
|
|
HASERL_LICENSE_FILES = COPYING
|
|
HASERL_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
|
|
HASERL_CONF_OPTS += --with-lua
|
|
HASERL_DEPENDENCIES += lua
|
|
|
|
# liblua uses dlopen when dynamically linked
|
|
ifneq ($(BR2_STATIC_LIBS),y)
|
|
HASERL_CONF_ENV += LIBS="-ldl"
|
|
endif
|
|
|
|
else
|
|
HASERL_CONF_OPTS += --without-lua
|
|
endif
|
|
|
|
define HASERL_REMOVE_EXAMPLES
|
|
rm -rf $(TARGET_DIR)/usr/share/haserl
|
|
endef
|
|
|
|
HASERL_POST_INSTALL_TARGET_HOOKS += HASERL_REMOVE_EXAMPLES
|
|
|
|
$(eval $(autotools-package))
|