wok-current annotate firefox-official/receipt @ rev 18216

Add hfsprogs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 17 19:01:24 2015 +0200 (2015-07-17)
parents f0deba3de1ee
children 9f653491537e
rev   line source
pankso@16706 1 # SliTaz package receipt.
pankso@16706 2
pankso@16706 3 PACKAGE="firefox-official"
pankso@18153 4 VERSION="38.0.5"
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"
al@17501 13 TAGS="web-browser"
pankso@16706 14 HOST_ARCH="i486"
pankso@16706 15
pankso@16706 16 DEPENDS="gtk+"
pankso@16706 17
pankso@16706 18 # Rules to configure and make the package.
pankso@16706 19 compile_rules()
pankso@16706 20 {
pankso@16706 21 mkdir -p \
pankso@16706 22 ${DESTDIR}/usr/bin \
pankso@16706 23 ${DESTDIR}/usr/lib/firefox-${VERSION} \
pankso@16706 24 ${DESTDIR}/usr/share/pixmaps
pankso@16706 25 cp -a ${src}/* ${DESTDIR}/usr/lib/firefox-${VERSION}
pankso@16706 26 # /usr/bin/firefox-official + pixmap
pankso@16706 27 ln -s ../lib/firefox-${VERSION}/firefox ${DESTDIR}/usr/bin/${PACKAGE}
pankso@16706 28 ln -s ../../lib/firefox-${VERSION}/browser/icons/mozicon128.png \
pankso@16706 29 ${DESTDIR}/usr/share/pixmaps/${PACKAGE}.png
pankso@16706 30 # Remove updater files (users can't upgrade anyway)
pankso@16706 31 rm -f ${DESTDIR}/usr/lib/firefox-${VERSION}/update*
pankso@16706 32 }
pankso@16706 33
pankso@16706 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16706 35 genpkg_rules()
pankso@16706 36 {
pankso@16706 37 mkdir -p ${fs} && cp -a ${install}/* ${fs}
pankso@16706 38 }