wok view thunderbird-bin/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (19 months ago)
parents d765616e1f3d
children e81b11899c89
line source
1 # SlitTaz package receipt.
3 PACKAGE="thunderbird-bin"
4 VERSION="68.9.0"
5 CATEGORY="network"
6 SHORT_DESC="Mozilla's Thunderbird email application."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="MPL"
9 SOURCE="thunderbird"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.mozilla.org/"
12 WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/en-US/$TARBALL"
14 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
15 HOST_ARCH="i486"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
21 sed '/[0-9]*\.[0-9]*\./!d;s|.*">||;s|/.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Installation path
28 fx='/opt/mozilla/thunderbird-bin'
30 mkdir -p \
31 $install$fx \
32 $install/usr/bin \
33 $install/usr/share/applications \
34 $install/usr/share/pixmaps
36 # Copy everything
37 cp -a $src/* $install$fx
39 # Executable
40 ln -s $fx/thunderbird $install/usr/bin/thunderbird-bin
42 # Icon
43 cp -a $stuff/thunderbird-bin.png \
44 $install/usr/share/pixmaps
46 # Allow user updates
47 chmod -R a+w $install$fx
49 # Desktop shortcut
50 cp $stuff/thunderbird-bin.desktop \
51 $install/usr/share/applications
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 cp -a $install/* $fs
58 }