2 SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \
3 file://xptcstubs.patch;patch=1 \
4 file://no-xmb.patch;patch=1 \
6 file://extensions-hack.patch;patch=1 \
7 file://security-cross.patch;patch=1 \
8 file://jsautocfg-dontoverwrite.patch;patch=1"
10 S = "${WORKDIR}/mozilla"
11 DEFAULT_PREFERENCE = "-1"
17 do_compile_prepend() {
18 cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
20 sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
25 install -d ${STAGING_INCDIR}/${P}
27 headers=`find . -name "*.h"`
30 install -m 0644 $f ${STAGING_INCDIR}/${P}/$f
32 # removes 2 lines that call absent headers
33 sed -e '178,179d' ${STAGING_INCDIR}/${P}/nsIServiceManager.h