2 # Copyright (C) 2014 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/$(PKG_NAME)
14 PKG_HASH:=b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac
16 HOST_FIXUP:=autoreconf
18 HOST_BUILD_PARALLEL:=1
20 include $(INCLUDE_DIR)/host-build.mk
23 $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/gengetopt $(STAGING_DIR_HOST)/bin/
27 rm -f $(STAGING_DIR_HOST)/bin/gengetopt
30 $(eval $(call HostBuild))