2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://pycurl.sourceforge.net
/download
/
18 include $(INCLUDE_DIR
)/package.mk
19 $(call include_mk
, python-package.mk
)
21 define Package
/python-curl
22 SECTION
:=language-python
26 URL
:=http
://sourceforge.net
/projects
/pycurl
27 DEPENDS
:=+python
+libcurl
30 define Package
/python-curl
/description
31 Python module interface to the cURL library.
35 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
38 define Package
/python-curl
/install
39 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
41 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
45 $(eval
$(call BuildPackage
,python-curl
))