wok-6.x view firefox-official/receipt @ rev 17080

ncmpcpp/receipt, remind/receipt, tiptop/receipt, tmux-mem-cpu-load/receipt: update user config file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 24 21:21:42 2014 +0200 (2014-08-24)
parents 7b0d67372a86
children d17613215b7e
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-official"
4 VERSION="31.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 HOST_ARCH="i486"
15 DEPENDS="gtk+"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p \
21 ${DESTDIR}/usr/bin \
22 ${DESTDIR}/usr/lib/firefox-${VERSION} \
23 ${DESTDIR}/usr/share/pixmaps
24 cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION}
25 # /usr/bin/firefox-official + pixmap
26 ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE}
27 ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \
28 ${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png
29 # Remove updater files (users can't upgrade anyway)
30 rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update*
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p ${fs} && cp -a ${install}/* ${fs}
37 }