76bcbaf54cd17427d8dec4f6232d0098257abfe0
[openwrt/staging/wigyori.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 PKG_VERSION:=0.9
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13 PKG_SOURCE_URL:=http://nixos.org/releases/patchelf/patchelf-$(PKG_VERSION)
14 PKG_MD5SUM:=d02687629c7e1698a486a93a0d607947
15
16 HOST_BUILD_PARALLEL:=1
17 HOST_FIXUP:=autoreconf
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Host/Install
22 $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
23 $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/patchelf $(STAGING_DIR_HOST)/bin/patchelf
24 endef
25
26 $(eval $(call HostBuild))