Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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:= python3-pyelftools
  5. PKG_VERSION:= 0.32
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 6de90ee7b8263e740c8715a925382d4099b354f29ac48ea40d840cf7aa14ace5
  8. PKG_DESCR:= fast, expressive, extensible templating engine
  9. PKG_SECTION:= dev/tools
  10. PKG_BUILDDEP:= python3-host
  11. PKG_SITES:= https://files.pythonhosted.org/packages/b9/ab/33968940b2deb3d92f5b146bc6d4009a5f95d1d06c148ea2f9ee965071af/
  12. DISTFILES:= pyelftools-$(PKG_VERSION).tar.gz
  13. WRKDIST= $(WRKDIR)/pyelftools-$(PKG_VERSION)
  14. include ${ADK_TOPDIR}/mk/host.mk
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,PYTHON3_YAML,python3-pyelftools,${PKG_VERSION}-${PKG_RELEASE}))
  17. include $(ADK_TOPDIR)/mk/python3.mk
  18. HOST_STYLE:= manual
  19. python3-pyelftools-hostinstall:
  20. (cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
  21. --prefix=$(STAGING_HOST_DIR)/usr)
  22. include ${ADK_TOPDIR}/mk/host-bottom.mk
  23. include $(ADK_TOPDIR)/mk/pkg-bottom.mk