From 626d9efa74685720020e816f3a917b7591d3cf7a Mon Sep 17 00:00:00 2001 From: James <> Date: Sat, 26 Sep 2015 12:29:31 +0100 Subject: trunk-47048 --- tools/gengetopt/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tools/gengetopt/Makefile (limited to 'tools/gengetopt/Makefile') diff --git a/tools/gengetopt/Makefile b/tools/gengetopt/Makefile new file mode 100644 index 0000000..74e528e --- /dev/null +++ b/tools/gengetopt/Makefile @@ -0,0 +1,30 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licengengetopt under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=gengetopt +PKG_VERSION:=2.22.6 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@GNU/$(PKG_NAME) +PKG_MD5SUM:=29749a48dda69277ab969c510597a14e + +HOST_FIXUP := autoreconf + +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)) -- cgit v1.2.3