python compiles now. the python libs
authorMichael Lauer <mickey@vanille-media.de>
Sat, 10 Jan 2004 23:58:52 +0000 (23:58 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 10 Jan 2004 23:58:52 +0000 (23:58 +0000)
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

gpsd/gpsd_1.10.oe
libsip/libsip-native_3.8.oe [new file with mode: 0644]
libsip/libsip_3.8.oe [new file with mode: 0644]
nonworking/python/python_2.3.2.oe [deleted file]
python/python-2.3.3/bindir-libdir.patch [moved from nonworking/python/python-2.3.2/bindir-libdir.patch with 100% similarity]
python/python-native-2.3.3/bindir-libdir.patch [moved from nonworking/libsip/libsip-native_3.8.oe with 100% similarity]
python/python-native_2.3.3.oe [moved from nonworking/libsip/libsip_3.8.oe with 100% similarity]
python/python_2.3.3.oe [moved from nonworking/python/python-native_2.3.2.oe with 100% similarity]

index e69de29..fdd1d81 100644 (file)
@@ -0,0 +1,19 @@
+SECTION="NET"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+
+SRC_URI=http://pygps.org/gpsd/downloads/gpsd-${PV}.tar.gz \
+        file://${FILESDIR}/gcc3.patch;patch=1
+
+inherit autotools libtool
+
+do_compile() {
+       oe_runmake gpsd
+}
+
+do_install () {
+       install -d ${D}/${bindir}
+       install -m 0755 ${S}/gpsd ${D}/${bindir}/gpsd
+}
diff --git a/libsip/libsip-native_3.8.oe b/libsip/libsip-native_3.8.oe
new file mode 100644 (file)
index 0000000..a2f6d56
--- /dev/null
@@ -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 (file)
index 0000000..1481325
--- /dev/null
@@ -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
+#
diff --git a/nonworking/python/python_2.3.2.oe b/nonworking/python/python_2.3.2.oe
deleted file mode 100644 (file)
index e69de29..0000000