summaryrefslogtreecommitdiff
path: root/packages/sip/sip4-native_4.4.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sip/sip4-native_4.4.3.bb')
-rw-r--r--packages/sip/sip4-native_4.4.3.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/sip/sip4-native_4.4.3.bb b/packages/sip/sip4-native_4.4.3.bb
new file mode 100644
index 0000000000..395fa15ac7
--- /dev/null
+++ b/packages/sip/sip4-native_4.4.3.bb
@@ -0,0 +1,23 @@
+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
+}
+