Makefile 674 B

1234567891011121314151617181920212223242526
  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_VERSION:=0.10
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  11. PKG_SOURCE_URL:=http://nixos.org/releases/patchelf/patchelf-$(PKG_VERSION)
  12. PKG_HASH:=f670cd462ac7161588c28f45349bc20fb9bd842805e3f71387a320e7a9ddfcf3
  13. HOST_BUILD_PARALLEL:=1
  14. HOST_FIXUP:=autoreconf
  15. include $(INCLUDE_DIR)/host-build.mk
  16. define Host/Install
  17. $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
  18. $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/patchelf $(STAGING_DIR_HOST)/bin/patchelf
  19. endef
  20. $(eval $(call HostBuild))