summaryrefslogtreecommitdiff
path: root/libsip
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-01-10 23:58:52 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-01-10 23:58:52 +0000
commit3a491ff2be4f59091e0a9d9cc2eb4abf8e889c6a (patch)
tree9e787eefcf9103c730c44f42af30e89b09bf0345 /libsip
parent54644876270686e0c30662286f6603809407d95d (diff)
python compiles now. the python libs
are not packaged by ipk - this is imo due to a bug in OE, because the lib directory just contains another directory (python23) which then contains the real files. probably just fixing the build stage to install recursively. BKrev: 400091bcehzNnj2WXlXfNx5uzZZEBg
Diffstat (limited to 'libsip')
-rw-r--r--libsip/libsip-native_3.8.oe2
-rw-r--r--libsip/libsip_3.8.oe32
2 files changed, 34 insertions, 0 deletions
diff --git a/libsip/libsip-native_3.8.oe b/libsip/libsip-native_3.8.oe
new file mode 100644
index 0000000000..a2f6d5616c
--- /dev/null
+++ b/libsip/libsip-native_3.8.oe
@@ -0,0 +1,2 @@
+include libsip_${PV}.oe
+inherit native
diff --git a/libsip/libsip_3.8.oe b/libsip/libsip_3.8.oe
new file mode 100644
index 0000000000..1481325d37
--- /dev/null
+++ b/libsip/libsip_3.8.oe
@@ -0,0 +1,32 @@
+DESCRIPTION="Runtime helper for sip-generated python wrapper libraries"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+LICENSE="GPL"
+DEPENDS="virtual/libc virtual/libqte2 python"
+
+SRC_URI := "http://opie.net.wox.org/python/dependencies/sip-x11-gpl-${PV}.tar.gz"
+S := "${WORKDIR}/sip-x11-gpl-${PV}/siplib"
+
+inherit qmake
+
+QMAKE_PROFILES = "siplib.pro.in"
+
+#
+# Warning: passing ' "FOO=BAR" results in double ""FOO=BAR"" which is then ignored by qmake
+#
+
+EXTRA_QMAKEVARS_POST = ' CONFIG=qt \
+ DESTDIR=${STAGING_LIBDIR}/python2.3/site-packages \
+ TARGET=sip \
+ DEFINES=SIP_MAKE_DLL \
+ DEFINES+=SIP_QT_SUPPORT \
+ INCLUDEPATH=. \
+ INCLUDEPATH+=${STAGING_DIR}/include/python2.3 \
+ INCLUDEPATH+=${STAGING_LIBDIR}/include \
+ INCLUDEPATH+=${QTDIR}/include '
+
+
+#
+# It would be nice if I could use spaces, e.g. CONFIG=qt warn_off release dll
+#