1
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Copyright (C) 2007-2017 OpenWrt.org
  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. PKG_NAME:=django-postoffice
  9. PKG_VERSION:=3.0.3
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=MIT
  12. PKG_SOURCE:=django-post_office-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://pypi.python.org/packages/0f/8c/8c7e1d8998741fd195f7df947c509bc31a03d505aca03488c39e59da11f0/
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/django-post_office-$(PKG_VERSION)/
  15. PKG_HASH:=8d691b2e53ba8121d770ce448f05568874cf78a3cf63215918ad49536db5e76a
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python-package.mk
  18. define Package/django-postoffice
  19. SUBMENU:=Python
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
  23. TITLE:=A Django app to monitor and send mail asynchronously, complete with template support.
  24. URL:=https://github.com/ui/django-postoffice
  25. DEPENDS:=+python +django +django-jsonfield
  26. endef
  27. define Package/django-postoffice/description
  28. A Django app to monitor and send mail asynchronously, complete with template support.
  29. endef
  30. define Build/Compile
  31. $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
  32. endef
  33. define Package/django-postoffice/install
  34. $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
  35. $(CP) \
  36. $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
  37. $(1)$(PYTHON_PKG_DIR)
  38. endef
  39. $(eval $(call BuildPackage,django-postoffice))