tools/patchelf: bump to use latest master
[openwrt/openwrt.git] / tools / patchelf / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=patchelf
10
11 PKG_SOURCE_PROTO:=git
12 PKG_SOURCE_URL:=https://github.com/NixOS/patchelf.git
13 PKG_SOURCE_VERSION:=f34751b88bd07d7f44f5cd3200fb4122bf916c7e
14 PKG_SOURCE_DATE:=2020-12-07
15 PKG_MIRROR_HASH:=ac746930b919b97da40f259cfc9ab7bbd48a0c9cbf2eebd8cee5ae19a94356fd
16
17 HOST_BUILD_PARALLEL:=1
18 HOST_FIXUP:=autoreconf
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 define Host/Install
23 $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
24 $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/patchelf $(STAGING_DIR_HOST)/bin/patchelf
25 endef
26
27 $(eval $(call HostBuild))