wok rev 16706

Add Firefox Official (29.0.1) - Use official build from the Mozilla foundation
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 28 22:08:06 2014 +0200 (2014-05-28)
parents 4d66a3d133f0
children 2243e3036b42
files firefox-official/receipt firefox-official/stuff/firefox-official.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/firefox-official/receipt	Wed May 28 22:08:06 2014 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="firefox-official"
     1.7 +VERSION="29.0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Official Firefox build by the Mozilla foundation."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="MPL2"
    1.12 +SOURCE="firefox"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.mozilla.org/firefox"
    1.15 +WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/en-US/$TARBALL"
    1.16 +HOST_ARCH="i486"
    1.17 +
    1.18 +DEPENDS="gtk+"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir -p \
    1.24 +		${DESTDIR}/usr/bin \
    1.25 +		${DESTDIR}/usr/lib/firefox-${VERSION} \
    1.26 +		${DESTDIR}/usr/share/pixmaps
    1.27 +	cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION}
    1.28 +	# /usr/bin/firefox-official + pixmap
    1.29 +	ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE}
    1.30 +	ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \
    1.31 +		${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png
    1.32 +	# Remove updater files (users can't upgrade anyway)
    1.33 +	rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update*
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p ${fs} && cp -a ${install}/* ${fs}
    1.40 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/firefox-official/stuff/firefox-official.desktop	Wed May 28 22:08:06 2014 +0200
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=Firefox Web Browser (official)
     2.7 +Name[fr]=Navigateur web Firefox (officiel)
     2.8 +Exec=firefox-official
     2.9 +Icon=firefox-official
    2.10 +Type=Application
    2.11 +Categories=Application;Network;