Makefile 706 B

123456789101112131415161718192021222324252627
  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. PKG_NAME:=patchelf
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://github.com/NixOS/patchelf.git
  11. PKG_SOURCE_VERSION:=f34751b88bd07d7f44f5cd3200fb4122bf916c7e
  12. PKG_SOURCE_DATE:=2020-12-07
  13. PKG_MIRROR_HASH:=ac746930b919b97da40f259cfc9ab7bbd48a0c9cbf2eebd8cee5ae19a94356fd
  14. HOST_BUILD_PARALLEL:=1
  15. HOST_FIXUP:=autoreconf
  16. include $(INCLUDE_DIR)/host-build.mk
  17. define Host/Install
  18. $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
  19. $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/patchelf $(STAGING_DIR_HOST)/bin/patchelf
  20. endef
  21. $(eval $(call HostBuild))