daily pastebin goal
30%
SHARE
TWEET

patchelf_git

a guest May 25th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # Copyright (C) 2018 Entware
  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. PKG_RELEASE:=1
  12.  
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_URL:=https://github.com/NixOS/patchelf.git
  15. PKG_SOURCE_DATE:=2017-03-08
  16. PKG_SOURCE_VERSION:=c4deb5e9e1ce9c98a48e0d5bb37d87739b8cfee4
  17. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  18. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  19. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  20.  
  21. PKG_FIXUP:=autoreconf
  22. PKG_INSTALL:=1
  23.  
  24. include $(INCLUDE_DIR)/package.mk
  25.  
  26. define Package/patchelf
  27.   SECTION:=devel
  28.   CATEGORY:=Development
  29.   TITLE:=patchelf
  30.   URL:=https://nixos.org/patchelf.html
  31.   MAINTAINER:=Entware team, https://entware.net
  32.   DEPENDS:=+libstdcpp
  33. endef
  34.  
  35. define Package/patchelf/description
  36.   A small utility to modify the dynamic linker and RPATH of ELF executables
  37. endef
  38.  
  39. define Package/patchelf/install
  40.     $(INSTALL_DIR) $(1)/opt/bin
  41.     $(INSTALL_BIN) $(PKG_INSTALL_DIR)/opt/bin/patchelf $(1)/opt/bin
  42. endef
  43.  
  44. $(eval $(call BuildPackage,patchelf))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top