summaryrefslogtreecommitdiff
path: root/recipes/sip
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/sip')
-rw-r--r--recipes/sip/sip-native_4.7.3.bb25
-rw-r--r--recipes/sip/sip-native_4.7.7.bb30
-rw-r--r--recipes/sip/sip-native_4.7.9.bb32
-rw-r--r--recipes/sip/sip3-native_3.10.112
-rw-r--r--recipes/sip/sip3-native_4.0.1.bb16
5 files changed, 115 insertions, 0 deletions
diff --git a/recipes/sip/sip-native_4.7.3.bb b/recipes/sip/sip-native_4.7.3.bb
new file mode 100644
index 0000000000..b47a3a7539
--- /dev/null
+++ b/recipes/sip/sip-native_4.7.3.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "SIP is a C++/Python Wrapper Generator"
+SECTION = "devel"
+HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip"
+AUTHOR = "Phil Thompson"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.riverbankcomputing.com/Downloads/sip4/sip-${PV}.tar.gz"
+S = "${WORKDIR}/sip-${PV}/sipgen"
+
+inherit qt4x11 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_NATIVE}/sip
+ cd ${WORKDIR}/sip-${PV} && python configure.py
+ install -d ${STAGING_PYDIR}/site-packages
+ install -m 0755 sip*.py ${STAGING_PYDIR}/site-packages
+}
+
diff --git a/recipes/sip/sip-native_4.7.7.bb b/recipes/sip/sip-native_4.7.7.bb
new file mode 100644
index 0000000000..4fb4eba9e3
--- /dev/null
+++ b/recipes/sip/sip-native_4.7.7.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "SIP is a C++/Python Wrapper Generator"
+SECTION = "devel"
+HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip"
+AUTHOR = "Phil Thompson"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "ml0"
+
+SRC_URI = "http://cvs.fedora.redhat.com/repo/pkgs/sip/sip-4.7.7.tar.gz/9cabe6a0f61b73582cfc38b903576211/sip-4.7.7.tar.gz"
+S = "${WORKDIR}/sip-${PV}/sipgen"
+
+inherit qt4x11 native
+
+export BUILD_SYS
+export HOST_SYS
+export STAGING_LIBDIR
+export STAGING_INCDIR
+
+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_NATIVE}/sip
+ cd ${WORKDIR}/sip-${PV} && python configure.py
+ install -d ${STAGING_PYDIR}/site-packages
+ install -m 0755 sip*.py ${STAGING_PYDIR}/site-packages
+}
diff --git a/recipes/sip/sip-native_4.7.9.bb b/recipes/sip/sip-native_4.7.9.bb
new file mode 100644
index 0000000000..127d26f389
--- /dev/null
+++ b/recipes/sip/sip-native_4.7.9.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "SIP is a C++/Python Wrapper Generator"
+SECTION = "devel"
+HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip"
+AUTHOR = "Phil Thompson"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "ml0"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-${PV}.tar.gz"
+S = "${WORKDIR}/sip-${PV}/sipgen"
+
+inherit qt4x11 native
+
+export BUILD_SYS
+export HOST_SYS
+export STAGING_LIBDIR
+export STAGING_INCDIR
+
+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_NATIVE}/sip
+ cd ${WORKDIR}/sip-${PV} && python configure.py
+ install -d ${STAGING_PYDIR}/site-packages
+ install -m 0755 sip*.py ${STAGING_PYDIR}/site-packages
+}
diff --git a/recipes/sip/sip3-native_3.10.1 b/recipes/sip/sip3-native_3.10.1
new file mode 100644
index 0000000000..3702799319
--- /dev/null
+++ b/recipes/sip/sip3-native_3.10.1
@@ -0,0 +1,12 @@
+DESCRIPTION = "SIP - A Python Wrapper Generator"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.vanille.de/mirror/sip-${PV}.tar.gz"
+S = "${WORKDIR}/sip-${PV}/sipgen"
+
+inherit qmake native
+
+QMAKE_PROFILES = "sipgen.pro.in"
+EXTRA_QMAKEVARS_POST += "DESTDIR=${STAGING_BINDIR}"
diff --git a/recipes/sip/sip3-native_4.0.1.bb b/recipes/sip/sip3-native_4.0.1.bb
new file mode 100644
index 0000000000..e833a31871
--- /dev/null
+++ b/recipes/sip/sip3-native_4.0.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "SIP - A Python Wrapper Generator"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.vanille.de/mirror/sip-${PV}.tar.gz"
+S = "${WORKDIR}/sip-${PV}/sipgen"
+
+inherit qmake native
+
+EXTRA_QMAKEVARS_POST += "DESTDIR=${STAGING_BINDIR} CONFIG=console"
+
+do_configure_prepend() {
+ cat sipgen.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, > sipgen.pro
+}
+