wok-next annotate firefox-official/receipt @ rev 17199
Up rsync (3.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 19:19:04 2014 +0200 (2014-10-08) |
parents | d17613215b7e |
children | ac3b773e4d68 |
rev | line source |
---|---|
pankso@16706 | 1 # SliTaz package receipt. |
pankso@16706 | 2 |
pankso@16706 | 3 PACKAGE="firefox-official" |
pascal@17172 | 4 VERSION="32.0.3" |
pankso@16706 | 5 CATEGORY="network" |
pankso@16706 | 6 SHORT_DESC="Official Firefox build by the Mozilla foundation." |
pankso@16706 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16706 | 8 LICENSE="MPL2" |
pankso@16706 | 9 SOURCE="firefox" |
pankso@16706 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@16706 | 11 WEB_SITE="http://www.mozilla.org/firefox" |
pankso@16706 | 12 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/en-US/$TARBALL" |
pankso@16706 | 13 HOST_ARCH="i486" |
pankso@16706 | 14 |
pankso@16706 | 15 DEPENDS="gtk+" |
pankso@16706 | 16 |
pankso@16706 | 17 # Rules to configure and make the package. |
pankso@16706 | 18 compile_rules() |
pankso@16706 | 19 { |
pankso@16706 | 20 mkdir -p \ |
pankso@16706 | 21 ${DESTDIR}/usr/bin \ |
pankso@16706 | 22 ${DESTDIR}/usr/lib/firefox-${VERSION} \ |
pankso@16706 | 23 ${DESTDIR}/usr/share/pixmaps |
pankso@16706 | 24 cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION} |
pankso@16706 | 25 # /usr/bin/firefox-official + pixmap |
pankso@16706 | 26 ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE} |
pankso@16706 | 27 ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \ |
pankso@16706 | 28 ${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png |
pankso@16706 | 29 # Remove updater files (users can't upgrade anyway) |
pankso@16706 | 30 rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update* |
pankso@16706 | 31 } |
pankso@16706 | 32 |
pankso@16706 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16706 | 34 genpkg_rules() |
pankso@16706 | 35 { |
pankso@16706 | 36 mkdir -p ${fs} && cp -a ${install}/* ${fs} |
pankso@16706 | 37 } |