pyton-pycurl: Add new recipe from OE.dev

Add python-pycurl_7.19.0 from OE.dev with some tweaks to enable a native
version. This package is a dependancy of newer Yum

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock
2010-03-25 12:19:17 +00:00
parent a2d5806f5d
commit 678537c684
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
DESCRIPTION = "libcurl Python Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "curl"
SRCNAME = "pycurl"
PR = "r0"
SRC_URI = "\
http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \
file://no-static-link.patch;patch=1 \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
# need to export these variables for python-config to work
export BUILD_SYS
export HOST_SYS
RDEPENDS = "python-core curl"
BBCLASSEXTEND = "native"