summaryrefslogtreecommitdiff
path: root/packages/mozilla/firefox.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-09-06 09:39:19 +0000
committerKoen Kooi <koen@openembedded.org>2008-09-06 09:39:19 +0000
commit6f2277c2180494689d2955bc033980ba9dd6646a (patch)
tree2572b4292c6a3aaaa2d0573db3b96efa70af9b08 /packages/mozilla/firefox.inc
parent20d5a499d197bbaf6cc938f363ac12122f5cf346 (diff)
fennec: update SRCREVs and fix a crosscompile issue
Diffstat (limited to 'packages/mozilla/firefox.inc')
-rw-r--r--packages/mozilla/firefox.inc40
1 files changed, 20 insertions, 20 deletions
diff --git a/packages/mozilla/firefox.inc b/packages/mozilla/firefox.inc
index 1fae3a759e..76f12df365 100644
--- a/packages/mozilla/firefox.inc
+++ b/packages/mozilla/firefox.inc
@@ -1,26 +1,26 @@
SRC_URI += "file://mozilla-firefox.png file://mozilla-firefox.desktop"
-PACKAGES =+ "firefox-inspector"
+PACKAGES =+ "${PN}-inspector"
-PACKAGES += "firefox-sdk"
+PACKAGES += "${PN}-sdk"
-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_${PN}-inspector = " ${libdir}/${PN}-${PV}/chrome/inspector* \
+ ${libdir}/${PN}-${PV}/components/*nspector* \
+ ${libdir}/${PN}-${PV}/extensions/inspector* \
+ ${libdir}/${PN}-${PV}/defaults/preferences/inspector* \
"
-FILES_${PN} = "${bindir}/firefox \
+FILES_${PN} = "${bindir}/${PN} \
${datadir}/applications/ \
${datadir}/pixmaps/ \
- ${libdir}/firefox-${PV}/* \
- ${libdir}/firefox-${PV}/.autoreg \
+ ${libdir}/${PN}-${PV}/* \
+ ${libdir}/${PN}-${PV}/.autoreg \
${bindir}/defaults"
-FILES_${PN}-dev += "${datadir}/idl ${bindir}/firefox-config"
-FILES_firefox-sdk += "${libdir}/firefox-devel-${PV}"
-FILES_${PN}-dbg += " ${libdir}/firefox-*/.debug \
- ${libdir}/firefox-*/*/.debug \
- ${libdir}/firefox-*/*/*/.debug \
- ${libdir}/firefox-*/*/*/*/.debug \
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config"
+FILES_${PN}-sdk += "${libdir}/${PN}-devel-${PV}"
+FILES_${PN}-dbg += " ${libdir}/${PN}-*/.debug \
+ ${libdir}/${PN}-*/*/.debug \
+ ${libdir}/${PN}-*/*/*/.debug \
+ ${libdir}/${PN}-*/*/*/*/.debug \
${bindir}/.debug \
"
@@ -28,14 +28,14 @@ do_install() {
oe_runmake DESTDIR="${D}" destdir="${D}" install
install -d ${D}${datadir}/applications
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-*/TestGtkEmbed
+ install -m 0644 ${WORKDIR}/mozilla-${PN}.desktop ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/mozilla-${PN}.png ${D}${datadir}/pixmaps/
+ rm -f ${D}${libdir}/${PN}-*/TestGtkEmbed
}
-pkg_postinst_firefox() {
+pkg_postinst_${PN}() {
# work around requirement for root access on first startup
- chmod -R a+w ${libdir}/firefox* ||true
+ chmod -R a+w ${libdir}/${PN}* ||true
}
do_stage() {