mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Add python to DEPENDS and ensure the required environment variables are available at build time. Signed-off-by: Joshua Lock <josh@linux.intel.com>
26 lines
544 B
BlitzBasic
26 lines
544 B
BlitzBasic
DESCRIPTION = "libcurl Python Bindings"
|
|
SECTION = "devel/python"
|
|
PRIORITY = "optional"
|
|
LICENSE = "LGPL"
|
|
DEPENDS = "curl python"
|
|
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
|
|
export STAGING_INCDIR
|
|
export STAGING_LIBDIR
|
|
|
|
RDEPENDS = "python-core curl"
|
|
|
|
BBCLASSEXTEND = "native"
|