Merge pull request #5236 from lynxis/rb_perl
[feed/packages.git] / lang / python / python-curl / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=pycurl
8 PKG_VERSION:=7.43.0.1
9 PKG_RELEASE:=1
10 PKG_MAINTAINER:=Waldemar Konik <informatyk74@interia.pl>
11 PKG_LICENSE:=LGPL-2.1
12 PKG_LICENSE_FILE=COPYING-LGPL
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://dl.bintray.com/pycurl/pycurl/
16 PKG_HASH:=43231bf2bafde923a6d9bb79e2407342a5f3382c1ef0a3b2e491c6a4e50b91aa
17
18 PKG_BUILD_DEPENDS:=python libcurl
19
20 include $(INCLUDE_DIR)/package.mk
21 $(call include_mk, python-package.mk)
22
23 define Package/python-curl
24 CATEGORY:=Languages
25 SECTION:=lang
26 SUBMENU:=Python
27 TITLE:=Python module interface to the cURL library
28 URL:=http://pycurl.io/
29 DEPENDS:=+python +libcurl
30 endef
31
32 define Package/python-curl/description
33 Python module interface to the cURL library.
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
38 endef
39
40 define Package/python-curl/install
41 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
42 $(CP) \
43 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
44 $(1)$(PYTHON_PKG_DIR)
45 endef
46
47 $(eval $(call BuildPackage,python-curl))