diff options
Diffstat (limited to 'meta-oe/recipes-extended/sip/sip-native_4.14.2.bb')
-rw-r--r-- | meta-oe/recipes-extended/sip/sip-native_4.14.2.bb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-oe/recipes-extended/sip/sip-native_4.14.2.bb b/meta-oe/recipes-extended/sip/sip-native_4.14.2.bb deleted file mode 100644 index 602dc250f..000000000 --- a/meta-oe/recipes-extended/sip/sip-native_4.14.2.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | SUMMARY = "SIP is a C++/Python Wrapper Generator" | ||
2 | AUTHOR = "Phil Thompson" | ||
3 | HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip" | ||
4 | SECTION = "devel" | ||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://sipgen.sbf;endline=15;md5=61b2ce7ddd624968411804d2fa9d776c" | ||
7 | |||
8 | # riverbankcomputing is upstream, but keeps only latest version, sf usually have few older | ||
9 | #SRC_URI = "http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${PV}.tar.gz" | ||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz" | ||
11 | SRC_URI[md5sum] = "b93442e745b3be2fad89de0686a76ce9" | ||
12 | SRC_URI[sha256sum] = "1a9d3bf26c821f369c175f8e68946b79bc994da4f96e8f5ecff06e6ee7ac0528" | ||
13 | S = "${WORKDIR}/sip-${PV}/sipgen" | ||
14 | |||
15 | inherit qmake2 native python-dir | ||
16 | |||
17 | EXTRA_QMAKEVARS_POST += "DESTDIR=${S} CONFIG=console" | ||
18 | |||
19 | export BUILD_SYS | ||
20 | export HOST_SYS | ||
21 | export STAGING_LIBDIR | ||
22 | export STAGING_INCDIR | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | cat sipgen.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, > sipgen.pro | ||
26 | } | ||
27 | do_install() { | ||
28 | install -d ${D}${bindir} | ||
29 | install -m 0755 sip ${D}${bindir}/sip | ||
30 | # python-pyqt expects sip4 | ||
31 | ln -sf sip ${D}${bindir}/sip4 | ||
32 | cd ${WORKDIR}/sip-${PV} && python configure.py | ||
33 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
34 | install -m 0755 sip*.py ${D}${PYTHON_SITEPACKAGES_DIR} | ||
35 | } | ||