summaryrefslogtreecommitdiff
path: root/packages/sip/sip4-native_4.4.5.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-06-11 15:55:40 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-11 15:55:40 +0000
commit8cf158998c571ae013d39b9aac3dfbc2ff61a57e (patch)
tree598c2dc3bd06c15151304582c888d8d5c8843747 /packages/sip/sip4-native_4.4.5.bb
parent97c7168f240e52239b374a046cc432d48d45592e (diff)
sip4-native: 4.4.3 -> 4.4.5
Diffstat (limited to 'packages/sip/sip4-native_4.4.5.bb')
-rw-r--r--packages/sip/sip4-native_4.4.5.bb26
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
+}
+