merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git] / packages / gtk-webcore / osb-jscore_20050430.bb
blobf024bbfa02bd3ee5e6ebed96332460f50d48c7b1
1 DESCRIPTION = "Gtk+ WebCore - JavaScriptCore"
2 HOMEPAGE = "http://gtk-webcore.sourceforge.net/"
3 LICENSE = "GPL"
4 PRIORITY = "optional"
5 SECTION = "gpe"
7 FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}"
8 PV = "0.5.0+cvs${FIXEDSRCDATE}"
9 PR = "r1"
11 SRC_URI = "cvs://anonymous@gtk-webcore.cvs.sourceforge.net/cvsroot/gtk-webcore;module=JavaScriptCore;date=${FIXEDSRCDATE} \
12 file://libm.patch;patch=1"
13 S = "${WORKDIR}/JavaScriptCore"
15 inherit autotools pkgconfig
17 # zap CPPFLAGS to avoid trouble with internal vs. pcre from staging
18 CPPFLAGS = ""
20 do_configure () {
21 autotools_do_configure
22 cd ${S}
24 # prevent libtool from linking libs against libstdc++, libgcc, ...
25 cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
26 mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
29 do_stage () {
30 oe_libinstall -so -C kjs libjscore ${STAGING_LIBDIR}
32 autotools_stage_includes
34 install -d ${STAGING_INCDIR}/osb/JavaScriptCore
35 for i in ${S}/kjs/*.h ${S}/kjs/new; do
36 install -m 0644 $i ${STAGING_INCDIR}/osb/JavaScriptCore
37 done