From 37846144515ff381d67dcf272f538e8d6c303a80 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 5 Jan 2007 17:51:18 +0000 Subject: osb-jscore: add floating svn version --- packages/gtk-webcore/osb-jscore_svn.bb | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 packages/gtk-webcore/osb-jscore_svn.bb (limited to 'packages/gtk-webcore') 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 +} -- cgit v1.2.3