2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-04-11 01:34:06 +02:00
|
|
|
#
|
|
|
|
# haserl
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-04-11 01:34:06 +02:00
|
|
|
|
2021-03-29 22:10:26 +02:00
|
|
|
HASERL_VERSION = 0.9.36
|
2013-06-30 10:19:39 +02:00
|
|
|
HASERL_SITE = http://downloads.sourceforge.net/project/haserl/haserl-devel
|
2017-03-30 15:43:32 +02:00
|
|
|
HASERL_LICENSE = GPL-2.0
|
2013-01-21 12:29:47 +01:00
|
|
|
HASERL_LICENSE_FILES = COPYING
|
2021-03-29 22:10:25 +02:00
|
|
|
HASERL_CPE_ID_VENDOR = haserl_project
|
2014-06-13 21:54:17 +02:00
|
|
|
HASERL_DEPENDENCIES = host-pkgconf
|
2006-04-11 01:34:06 +02:00
|
|
|
|
2010-04-29 23:04:20 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
HASERL_CONF_OPTS += --with-lua
|
|
|
|
HASERL_DEPENDENCIES += lua
|
2014-06-13 21:54:17 +02:00
|
|
|
|
|
|
|
# liblua uses dlopen when dynamically linked
|
2014-12-03 22:41:29 +01:00
|
|
|
ifneq ($(BR2_STATIC_LIBS),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
HASERL_CONF_ENV += LIBS="-ldl"
|
2014-06-13 21:54:17 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
HASERL_CONF_OPTS += --without-lua
|
2010-04-29 23:04:20 +02:00
|
|
|
endif
|
2006-04-11 01:34:06 +02:00
|
|
|
|
2010-09-02 00:04:13 +02:00
|
|
|
define HASERL_REMOVE_EXAMPLES
|
2008-08-19 11:40:20 +02:00
|
|
|
rm -rf $(TARGET_DIR)/usr/share/haserl
|
2010-09-02 00:04:13 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
HASERL_POST_INSTALL_TARGET_HOOKS += HASERL_REMOVE_EXAMPLES
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|