tools: xxd: use more convenient source tarball
[openwrt/openwrt.git] / tools / xxd / Makefile
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=xxd
6 PKG_VERSION:=1.10
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=http://grail.cba.csuohio.edu/~somos/xxd-1.10.tar.gz
9 PKG_HASH:=9bf05c19b9084973e3cc877696a7f9881a5c87fa5a9fa438d9962519726559f9
10 PKG_CPE_ID:=cpe:/a:vim:vim
11
12 include $(INCLUDE_DIR)/host-build.mk
13
14 define Host/Install
15 $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
16 $(INSTALL_BIN) $(HOST_BUILD_DIR)/xxd $(STAGING_DIR_HOST)/bin/
17 endef
18
19 $(eval $(call HostBuild))