diff options
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-sip.inc')
| -rw-r--r-- | meta-oe/recipes-devtools/python/python-sip.inc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-oe/recipes-devtools/python/python-sip.inc b/meta-oe/recipes-devtools/python/python-sip.inc deleted file mode 100644 index d42414bac7..0000000000 --- a/meta-oe/recipes-devtools/python/python-sip.inc +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | DESCRIPTION = "Runtime helper for sip-generated python wrapper libraries" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip" | ||
| 4 | AUTHOR = "Phil Thompson" | ||
| 5 | LICENSE = "GPLv2+" | ||
| 6 | LIC_FILES_CHKSUM = "file://siplib.sbf.in;endline=15;md5=e0e7b5d0c4656666df09826ea1d2071c" | ||
| 7 | DEPENDS = "python" | ||
| 8 | RDEPENDS_${PN} = "python-core" | ||
| 9 | |||
| 10 | # riverbankcomputing is upstream, but keeps only latest version, sf usually have few older | ||
| 11 | #SRC_URI = "http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${PV}.tar.gz" | ||
| 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/sip-${PV}/siplib" | ||
| 15 | |||
| 16 | inherit qt4x11 distutils-base | ||
| 17 | |||
| 18 | EXTRA_QMAKEVARS_POST += " TEMPLATE=lib \ | ||
| 19 | CONFIG=console \ | ||
| 20 | DESTDIR= \ | ||
| 21 | VERSION=1.0.0 \ | ||
| 22 | TARGET=sip \ | ||
| 23 | DEFINES=SIP_QT_SUPPORT \ | ||
| 24 | INCLUDEPATH+=. \ | ||
| 25 | INCLUDEPATH+=${STAGING_INCDIR}/${PYTHON_DIR} \ | ||
| 26 | INCLUDEPATH+=${STAGING_INCDIR}" | ||
| 27 | |||
| 28 | |||
| 29 | do_configure_prepend() { | ||
| 30 | cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.pro | ||
| 31 | cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c | ||
| 32 | cat sip.h.in | sed -e s,@CFG_MODULE_NAME@,sip,g > sip.h | ||
| 33 | } | ||
| 34 | |||
| 35 | do_install() { | ||
| 36 | install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/ | ||
| 37 | install -m 0755 libsip.so.1.0.0 ${D}${libdir}/${PYTHON_DIR}/site-packages/sip.so | ||
| 38 | # sipconfig.py sipdistutils.py | ||
| 39 | install -d ${D}${includedir} | ||
| 40 | install -m 0644 ../siplib/sip.h ${D}${includedir}/sip.h | ||
| 41 | } | ||
| 42 | |||
| 43 | FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages/sip.so" | ||
| 44 | |||
