Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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-jinja2
  5. PKG_VERSION:= 3.0.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 827a0e32839ab1600d4eb1c4c33ec5a8edfbc5cb42dafa13b81f182f97784b45
  8. PKG_DESCR:= fast, expressive, extensible templating engine
  9. PKG_SECTION:= dev/tools
  10. PKG_BUILDDEP:= python3-host
  11. PKG_URL:= https://pypi.org/project/Jinja2/
  12. PKG_SITES:= https://files.pythonhosted.org/packages/f8/86/7c0eb6e8b05385d1ce682abc0f994abd1668e148fb52603fa86e15d4c110/
  13. DISTFILES:= Jinja2-$(PKG_VERSION).tar.gz
  14. WRKDIST= $(WRKDIR)/Jinja2-$(PKG_VERSION)
  15. include ${ADK_TOPDIR}/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,PYTHON3_JINJA2,python3-jinja2,${PKG_VERSION}-${PKG_RELEASE}))
  18. include $(ADK_TOPDIR)/mk/python.mk
  19. HOST_STYLE:= manual
  20. python3-jinja2-hostinstall:
  21. (cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
  22. --prefix=$(STAGING_HOST_DIR)/usr)
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include $(ADK_TOPDIR)/mk/pkg-bottom.mk