diff options
Diffstat (limited to 'packages/sip/sip4-native_4.4.5.bb')
-rw-r--r-- | packages/sip/sip4-native_4.4.5.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/sip/sip4-native_4.4.5.bb b/packages/sip/sip4-native_4.4.5.bb new file mode 100644 index 0000000000..f7858a3b79 --- /dev/null +++ b/packages/sip/sip4-native_4.4.5.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "SIP is a C++/Python Wrapper Generator" +SECTION = "base" +HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip" +AUTHOR = "Phil Thompson" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +LICENSE = "GPL" + +SRC_URI = "http://www.riverbankcomputing.com/Downloads/sip4/sip-${PV}.tar.gz" +S = "${WORKDIR}/sip-${PV}/sipgen" + +inherit qmake native + +EXTRA_QMAKEVARS_POST += "DESTDIR=${S} CONFIG=console" + +do_configure_prepend() { + cat sipgen.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, > sipgen.pro +} + +do_stage() { + install -m 0755 sip ${STAGING_BINDIR}/sip4 + cd ${WORKDIR}/sip-${PV} && python configure.py + install -d ${STAGING_PYDIR}/site-packages + install -m 0755 sip*.py ${STAGING_PYDIR}/site-packages +} + |