lede/tools/gengetopt/Makefile

31 lines
651 B
Makefile
Raw Normal View History

2017-09-06 19:19:45 +08:00
#
# Copyright (C) 2014 OpenWrt.org
#
2020-07-02 23:30:56 +08:00
# This is free software, licensed under the GNU General Public License v2.
2017-09-06 19:19:45 +08:00
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gengetopt
2020-07-02 23:30:56 +08:00
PKG_VERSION:=2.23
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
2017-09-06 19:19:45 +08:00
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
2020-07-02 23:30:56 +08:00
PKG_HASH:=b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac
2017-09-06 19:19:45 +08:00
2020-07-02 23:30:56 +08:00
HOST_FIXUP:=autoreconf
2017-09-06 19:19:45 +08:00
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
define Host/Install
$(INSTALL_BIN) $(HOST_BUILD_DIR)/src/gengetopt $(STAGING_DIR_HOST)/bin/
endef
define Host/Clean
rm -f $(STAGING_DIR_HOST)/bin/gengetopt
endef
$(eval $(call HostBuild))