2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/autoconf
14 PKG_HASH:=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
16 include $(INCLUDE_DIR)/host-build.mk
18 HOST_CONFIGURE_ARGS += \
19 --datarootdir=$(STAGING_DIR_HOST)/share
21 HOST_CONFIGURE_VARS += \
22 PERL="/usr/bin/env perl"
25 export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
29 export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
33 -export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
34 $(call Host/Clean/Default)
37 $(eval $(call HostBuild))