2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
13 PKG_SOURCE_URL
:=https
://github.com
/NixOS
/patchelf
/releases
/download
/$(PKG_VERSION
)
14 PKG_HASH
:=bae2ea376072e422c196218dd9bdef0548ccc08da4de9f36b4672df84ea2d8e2
16 HOST_BUILD_PARALLEL
:=1
17 HOST_FIXUP
:=autoreconf
19 include $(INCLUDE_DIR
)/host-build.mk
22 $(INSTALL_DIR
) $(STAGING_DIR_HOST
)/bin
23 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/src
/patchelf
$(STAGING_DIR_HOST
)/bin
/patchelf
27 rm -rf
$(STAGING_DIR_HOST
)/bin
/patchelf
30 $(eval
$(call HostBuild
))