You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
643 B
26 lines
643 B
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=patchelf
|
|
PKG_VERSION:=0.9
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=http://nixos.org/releases/patchelf/patchelf-$(PKG_VERSION)
|
|
PKG_MD5SUM:=d02687629c7e1698a486a93a0d607947
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
HOST_FIXUP:=autoreconf
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
define Host/Install
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/src/patchelf $(STAGING_DIR_HOST)/bin/patchelf
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|
|
|