2006-04-11 01:34:06 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# haserl
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2009-07-30 17:31:51 +02:00
|
|
|
HASERL_VERSION:=$(call qstrip,$(BR2_PACKAGE_HASERL_VERSION))
|
2007-10-30 23:10:17 +01:00
|
|
|
HASERL_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/haserl/
|
2010-04-29 23:04:20 +02:00
|
|
|
HASERL_AUTORECONF:=NO
|
2008-08-04 21:08:38 +02:00
|
|
|
HASERL_INSTALL_TARGET:=YES
|
2006-04-11 01:34:06 +02:00
|
|
|
|
2008-08-04 21:08:38 +02:00
|
|
|
# force haserl 0.8.0 to use install-sh so stripping works
|
|
|
|
HASERL_CONF_ENV = ac_cv_path_install=./install-sh
|
2010-04-29 23:04:20 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
|
|
|
|
HASERL_CONF_OPT += --with-lua=$(STAGING_DIR) \
|
|
|
|
--with-lua-headers=$(STAGING_DIR)
|
|
|
|
HASERL_DEPENDENCIES += lua
|
|
|
|
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
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,haserl))
|