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.

45 lines
1.1 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=pycurl
  6. PKG_VERSION:=7.43.0.2
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Waldemar Konik <informatyk74@interia.pl>
  9. PKG_LICENSE:=LGPL-2.1
  10. PKG_LICENSE_FILE=COPYING-LGPL
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://dl.bintray.com/pycurl/pycurl/
  13. PKG_HASH:=0f0cdfc7a92d4f2a5c44226162434e34f7d6967d3af416a6f1448649c09a25a4
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python-package.mk
  16. define Package/python-curl
  17. CATEGORY:=Languages
  18. SECTION:=lang
  19. SUBMENU:=Python
  20. TITLE:=Python module interface to the cURL library
  21. URL:=http://pycurl.io/
  22. DEPENDS:=+python +libcurl
  23. endef
  24. define Package/python-curl/description
  25. Python module interface to the cURL library.
  26. endef
  27. define Build/Compile
  28. $(call Build/Compile/PyMod,,install --with-openssl --prefix=/usr --root=$(PKG_INSTALL_DIR))
  29. endef
  30. define Package/python-curl/install
  31. $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
  32. $(CP) \
  33. $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
  34. $(1)$(PYTHON_PKG_DIR)
  35. endef
  36. $(eval $(call BuildPackage,python-curl))