base-files: config_get: prevent filename globbing
[oweals/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 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_HASH:=a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83
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))