wok-6.x annotate thunderbird-bin/receipt @ rev 24049
Up openvpn (2.5.2), openssh (8.6p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 10 20:32:02 2021 +0000 (2021-05-10) |
parents | 504cf654caa2 |
children | 922f061231c2 |
rev | line source |
---|---|
mojo@21285 | 1 # SlitTaz package receipt. |
mojo@21285 | 2 |
mojo@21285 | 3 PACKAGE="thunderbird-bin" |
pascal@23840 | 4 VERSION="68.9.0" |
mojo@21285 | 5 CATEGORY="network" |
mojo@21285 | 6 SHORT_DESC="Mozilla's Thunderbird email application." |
mojo@21285 | 7 MAINTAINER="mojo@slitaz.org" |
mojo@21285 | 8 LICENSE="MPL" |
mojo@21285 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
mojo@21285 | 10 SOURCE="thunderbird" |
mojo@21285 | 11 WEB_SITE="http://www.mozilla.org/" |
mojo@21285 | 12 WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/en-US/$TARBALL" |
mojo@21285 | 13 |
mojo@21285 | 14 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt" |
mojo@21285 | 15 HOST_ARCH="i486" |
mojo@21285 | 16 |
mojo@21285 | 17 # Rules to configure and make the package. |
mojo@21285 | 18 compile_rules() |
mojo@21285 | 19 { |
mojo@21285 | 20 # Installation path |
mojo@21285 | 21 fx='/opt/mozilla/thunderbird-bin' |
mojo@21285 | 22 |
mojo@21285 | 23 mkdir -p \ |
mojo@21285 | 24 $install$fx \ |
mojo@21285 | 25 $install/usr/bin \ |
mojo@21285 | 26 $install/usr/share/applications \ |
mojo@21285 | 27 $install/usr/share/pixmaps |
mojo@21285 | 28 |
mojo@21285 | 29 # Copy everything |
mojo@21285 | 30 cp -a $src/* $install$fx |
mojo@21285 | 31 |
mojo@21285 | 32 # Executable |
mojo@21285 | 33 ln -s $fx/thunderbird $install/usr/bin/thunderbird-bin |
mojo@21285 | 34 |
mojo@21285 | 35 # Icon |
mojo@21285 | 36 cp -a $stuff/thunderbird-bin.png \ |
mojo@21285 | 37 $install/usr/share/pixmaps |
mojo@21285 | 38 |
mojo@21285 | 39 # Allow user updates |
mojo@21285 | 40 chmod -R a+w $install$fx |
mojo@21285 | 41 |
mojo@21285 | 42 # Desktop shortcut |
mojo@21285 | 43 cp $stuff/thunderbird-bin.desktop \ |
mojo@21285 | 44 $install/usr/share/applications |
mojo@21285 | 45 } |
mojo@21285 | 46 |
mojo@21285 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@21285 | 48 genpkg_rules() |
mojo@21285 | 49 { |
mojo@21285 | 50 cp -a $install/* $fs |
mojo@21285 | 51 } |