packages/yapsnmp: fix whitespaces
[packages.git] / lang / python-curl / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pycurl
11 PKG_VERSION:=7.19.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://pycurl.sourceforge.net/download/
16 PKG_MD5SUM:=
17
18 include $(INCLUDE_DIR)/package.mk
19 $(call include_mk, python-package.mk)
20
21 define Package/python-curl
22   SECTION:=language-python
23   CATEGORY:=Languages
24   SUBMENU:=Python
25   TITLE:=python-curl
26   URL:=http://sourceforge.net/projects/pycurl
27   DEPENDS:=+python +libcurl
28 endef
29
30 define Package/python-curl/description
31 Python module interface to the cURL library.
32 endef
33
34 define Build/Compile
35         $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
36 endef
37
38 define Package/python-curl/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
45 $(eval $(call BuildPackage,python-curl))