summaryrefslogtreecommitdiff
path: root/packages/gtk-webcore
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-01-05 17:51:18 +0000
committerKoen Kooi <koen@openembedded.org>2007-01-05 17:51:18 +0000
commit37846144515ff381d67dcf272f538e8d6c303a80 (patch)
tree81893a22c80bc734c58b5742e6839474c075acb0 /packages/gtk-webcore
parente5f154d6d013264d5cf1bb581635184d59b17781 (diff)
osb-jscore: add floating svn version
Diffstat (limited to 'packages/gtk-webcore')
-rw-r--r--packages/gtk-webcore/osb-jscore_svn.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/gtk-webcore/osb-jscore_svn.bb b/packages/gtk-webcore/osb-jscore_svn.bb
new file mode 100644
index 0000000000..efc7469fd8
--- /dev/null
+++ b/packages/gtk-webcore/osb-jscore_svn.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Gtk+ WebCore - JavaScriptCore"
+HOMEPAGE = "http://gtk-webcore.sourceforge.net/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+
+PV = "0.5.0+svn${SRCDATE}"
+PR = "r0"
+
+SRC_URI = "svn://gtk-webcore.svn.sourceforge.net/svnroot/gtk-webcore/trunk;module=JavaScriptCore;proto=https \
+ file://gcc4-fno-threadsafe-statics-JavaScriptCore.patch;patch=1"
+
+S = "${WORKDIR}/JavaScriptCore"
+
+inherit autotools pkgconfig
+
+# zap CPPFLAGS to avoid trouble with internal vs. pcre from staging
+CPPFLAGS = ""
+
+do_configure () {
+ autotools_do_configure
+ cd ${S}
+
+ # prevent libtool from linking libs against libstdc++, libgcc, ...
+ cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
+ mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
+}
+
+do_stage () {
+ oe_libinstall -so -C kjs libjscore ${STAGING_LIBDIR}
+
+ autotools_stage_includes
+
+ install -d ${STAGING_INCDIR}/osb/JavaScriptCore
+ for i in ${S}/kjs/*.h ${S}/kjs/new; do
+ install -m 0644 $i ${STAGING_INCDIR}/osb/JavaScriptCore
+ done
+}