Advertisement
Guest User

patchelf

a guest
May 25th, 2018
116
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:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  14. PKG_SOURCE_URL:=http://nixos.org/releases/patchelf/patchelf-$(PKG_VERSION)
  15. PKG_HASH:=a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83
  16.  
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19.  
  20. include $(INCLUDE_DIR)/package.mk
  21.  
  22. define Package/patchelf
  23. SECTION:=devel
  24. CATEGORY:=Development
  25. TITLE:=patchelf
  26. URL:=https://nixos.org/patchelf.html
  27. MAINTAINER:=Entware team, https://entware.net
  28. DEPENDS:=+libstdcpp
  29. endef
  30.  
  31. define Package/patchelf/description
  32. A small utility to modify the dynamic linker and RPATH of ELF executables
  33. endef
  34.  
  35. define Package/patchelf/install
  36. $(INSTALL_DIR) $(1)/opt/bin
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/opt/bin/patchelf $(1)/opt/bin
  38. endef
  39.  
  40. $(eval $(call BuildPackage,patchelf))
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement