diff options
author | Rene Wagner <rw@handhelds.org> | 2004-10-29 22:36:40 +0000 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2004-10-29 22:36:40 +0000 |
commit | 8b230ee6959e7d39dda0b999626a24095804c19b (patch) | |
tree | 5016a062730be2e1b88fa1b9b19af1203d77b541 /gtk-webcore/osb-jscore_0.5.0.oe | |
parent | c4e8411032b99f7f1366db1d50ae352d456140ec (diff) |
gtk-webcore: work around libtool breakage causing stuff to be linked against libstdc++. if someone has a proper fix please let me know
BKrev: 4182c5f8thL0lUFwLkUM2gLE8x9GwQ
Diffstat (limited to 'gtk-webcore/osb-jscore_0.5.0.oe')
-rw-r--r-- | gtk-webcore/osb-jscore_0.5.0.oe | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gtk-webcore/osb-jscore_0.5.0.oe b/gtk-webcore/osb-jscore_0.5.0.oe index e69de29bb2..7c80752b36 100644 --- a/gtk-webcore/osb-jscore_0.5.0.oe +++ b/gtk-webcore/osb-jscore_0.5.0.oe @@ -0,0 +1,31 @@ +DESCRIPTION = "Gtk+ WebCore - JavaScriptCore" +HOMEPAGE = "http://gtk-webcore.sourceforge.net/" +PRIORITY = "optional" +MAINTAINER = "Rene Wagner <rw@handhelds.org>" +SECTION = "gpe" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/gtk-webcore/osb-jscore-${PV}.tar.gz \ + file://missing-includes.patch;patch=1" + +inherit autotools pkgconfig + +do_configure () { + autotools_do_configure + cd ${S} + + # prevent libtool from linking libs against libstdc++, libgcc, ... + cat arm-linux-libtool | sed -e 's/postdeps=".*"/postdeps=""/' > arm-linux-libtool.tmp + mv arm-linux-libtool.tmp arm-linux-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 +} |