You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.6 KiB

  1. #
  2. # Copyright (C) 2015 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:=python-egenix-mx-base
  9. PKG_VERSION:=3.2.8
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Dmitry Trefilov <the-alien@live.ru>
  12. PKG_LICENSE:=eGenix.com Public License 1.1.0
  13. PKG_LICENSE_FILES:=LICENSE COPYRIGHT
  14. PKG_SOURCE:=egenix-mx-base-$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=https://downloads.egenix.com/python/
  16. PKG_HASH:=0da55233e45bc3f88870e62e60a79c2c86bad4098b8128343fd7be877f44a3c0
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/egenix-mx-base-$(PKG_VERSION)
  18. PKG_BUILD_DEPENDS:=python
  19. include $(INCLUDE_DIR)/package.mk
  20. $(call include_mk, python-package.mk)
  21. define Package/python-egenix-mx-base
  22. SUBMENU:=Python
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. DEPENDS:=+USE_EGLIBC:librt +USE_UCLIBC:librt +python
  26. TITLE:=Egenix mxBase
  27. URL:=http://www.egenix.com/products/python/mxBase/
  28. endef
  29. define Package/python-egenix-mx-base/description
  30. The eGenix.com mx Base Distribution for Python is a collection
  31. of professional quality software tools which enhance Python's
  32. usability in many important areas such as fast text searching,
  33. date/time processing and high speed data types.
  34. endef
  35. define Build/Compile
  36. $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
  37. endef
  38. define PyPackage/python-egenix-mx-base/install
  39. $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
  40. $(CP) \
  41. $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
  42. $(1)$(PYTHON_PKG_DIR)
  43. endef
  44. $(eval $(call PyPackage,python-egenix-mx-base))
  45. $(eval $(call BuildPackage,python-egenix-mx-base))