summaryrefslogtreecommitdiff
path: root/packages/mozilla/firefox.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-08-05 13:12:08 +0000
committerKoen Kooi <koen@openembedded.org>2008-08-05 13:12:08 +0000
commitdbb0143498b71abc9285a28e6db00c828131f9d9 (patch)
treeaa1197f808480454755c17c848c7a20b3121fae6 /packages/mozilla/firefox.inc
parent25f8557ea1211ecc2f6f459e9d3c4adfea2a0904 (diff)
firefox: fix packagings and replace debian patch by something without a weasel fetish
Diffstat (limited to 'packages/mozilla/firefox.inc')
-rw-r--r--packages/mozilla/firefox.inc21
1 files changed, 11 insertions, 10 deletions
diff --git a/packages/mozilla/firefox.inc b/packages/mozilla/firefox.inc
index 7ad0c28db7..06478bd4c0 100644
--- a/packages/mozilla/firefox.inc
+++ b/packages/mozilla/firefox.inc
@@ -2,16 +2,17 @@ SRC_URI += "file://mozilla-firefox.png file://mozilla-firefox.desktop"
PACKAGES =+ "firefox-inspector"
-FILES_firefox-inspector = " ${libdir}/firefox-${PV}/chrome/inspector* \
- ${libdir}/firefox-${PV}/components/*nspector* \
- ${libdir}/firefox-${PV}/extensions/inspector* \
- ${libdir}/firefox-${PV}/defaults/preferences/inspector* \
+FILES_firefox-inspector = " ${libdir}/firefox*-*/chrome/inspector* \
+ ${libdir}/firefox*-${PV}/components/*nspector* \
+ ${libdir}/firefox*-${PV}/extensions/inspector* \
+ ${libdir}/firefox*-${PV}/defaults/preferences/inspector* \
"
-FILES_${PN} = "${bindir}/firefox ${datadir}/applications/ ${datadir}/pixmaps/ ${libdir}/firefox-${PV}/* ${bindir}/defaults"
+FILES_${PN} = "${bindir}/firefox ${datadir}/applications/ ${datadir}/pixmaps/ ${libdir}/firefox*-*/* ${bindir}/defaults"
FILES_${PN}-dev += "${datadir}/idl ${bindir}/firefox-config"
-FILES_${PN}-dbg += " ${libdir}/firefox-${PV}/.debug \
- ${libdir}/firefox-${PV}/*/.debug \
- ${libdir}/firefox-${PV}/*/*/*/.debug \
+FILES_${PN}-dbg += " ${libdir}/firefox-*/.debug \
+ ${libdir}/firefox-*/*/.debug \
+ ${libdir}/firefox-*/*/*/.debug \
+ ${libdir}/firefox-*/*/*/*/.debug \
${bindir}/.debug \
"
@@ -21,12 +22,12 @@ do_install() {
install -d ${D}${datadir}/pixmaps
install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
- rm -f ${D}${libdir}/firefox-${PV}/TestGtkEmbed
+ rm -f ${D}${libdir}/firefox-*/TestGtkEmbed
}
pkg_postinst_firefox() {
# work around requirement for root access on first startup
- chmod -R a+w ${libdir}/firefox*
+ chmod -R a+w ${libdir}/firefox* ||true
}
do_stage() {