wok-6.x view firefox-official/receipt @ rev 17563
syslinux/iso2exe: use iso size to compute md5sum, update README
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 07 15:54:50 2015 +0100 (2015-02-07) |
parents | 5d53e8ccbc8d |
children | 0a62ae54d391 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official"
4 VERSION="35.0"
5 CATEGORY="network"
6 SHORT_DESC="Official Firefox build by the Mozilla foundation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL2"
9 SOURCE="firefox"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mozilla.org/firefox"
12 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/en-US/$TARBALL"
13 TAGS="web-browser"
14 HOST_ARCH="i486"
16 DEPENDS="gtk+"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p \
22 ${DESTDIR}/usr/bin \
23 ${DESTDIR}/usr/lib/firefox-${VERSION} \
24 ${DESTDIR}/usr/share/pixmaps
25 cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION}
26 # /usr/bin/firefox-official + pixmap
27 ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE}
28 ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \
29 ${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png
30 # Remove updater files (users can't upgrade anyway)
31 rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update*
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p ${fs} && cp -a ${install}/* ${fs}
38 }