Makefile 1.0 KB

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= patchelf
  5. PKG_VERSION:= 0.8
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 14af06a2da688d577d64ff8dac065bb8903bbffbe01d30c62df7af9bf4ce72fe
  8. PKG_DESCR:= elf manipulation tool
  9. PKG_SECTION:= dev/tools
  10. PKG_NEEDS:= c++
  11. PKG_URL:= http://nixos.org/releases/patchelf
  12. PKG_SITES:= http://nixos.org/releases/patchelf/patchelf-0.8/
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/host.mk
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,PATCHELF,patchelf,$(PKG_VERSION)-$(PKG_RELEASE)))
  17. $(eval $(call PKG_template,PATCHELF,patchelf,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  18. patchelf-install:
  19. $(INSTALL_DIR) $(IDIR_PATCHELF)/usr/bin
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/patchelf \
  21. $(IDIR_PATCHELF)/usr/bin
  22. include $(ADK_TOPDIR)/mk/host-bottom.mk
  23. include $(ADK_TOPDIR)/mk/pkg-bottom.mk