# HG changeset patch # User Christophe Lincoln # Date 1401307686 -7200 # Node ID fd12a0b232cc0dabe0abb3b663dbcefaa26aa0df # Parent 4d66a3d133f04ba2dc84484dbbd1b07e5cd21b45 Add Firefox Official (29.0.1) - Use official build from the Mozilla foundation diff -r 4d66a3d133f0 -r fd12a0b232cc firefox-official/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/firefox-official/receipt Wed May 28 22:08:06 2014 +0200 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="firefox-official" +VERSION="29.0.1" +CATEGORY="network" +SHORT_DESC="Official Firefox build by the Mozilla foundation." +MAINTAINER="pankso@slitaz.org" +LICENSE="MPL2" +SOURCE="firefox" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.mozilla.org/firefox" +WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/en-US/$TARBALL" +HOST_ARCH="i486" + +DEPENDS="gtk+" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p \ + ${DESTDIR}/usr/bin \ + ${DESTDIR}/usr/lib/firefox-${VERSION} \ + ${DESTDIR}/usr/share/pixmaps + cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION} + # /usr/bin/firefox-official + pixmap + ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE} + ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \ + ${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png + # Remove updater files (users can't upgrade anyway) + rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update* +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p ${fs} && cp -a ${install}/* ${fs} +} diff -r 4d66a3d133f0 -r fd12a0b232cc firefox-official/stuff/firefox-official.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/firefox-official/stuff/firefox-official.desktop Wed May 28 22:08:06 2014 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Firefox Web Browser (official) +Name[fr]=Navigateur web Firefox (officiel) +Exec=firefox-official +Icon=firefox-official +Type=Application +Categories=Application;Network;