wok view thunderbird-bin-fr/receipt @ rev 25850

Up bzip3 (1.5.2), dropbear (2025.88), tinyssh (20250501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 06 06:34:03 2025 +0000 (9 days ago)
parents 41a539cfe5f8
children
line source
1 # SlitTaz package receipt.
3 PACKAGE="thunderbird-bin-fr"
4 lang="fr"
5 VERSION="68.12.1"
6 CATEGORY="network"
7 SHORT_DESC="Mozilla's Thunderbird email application (French language)."
8 MAINTAINER="mojo@slitaz.org"
9 LICENSE="MPL"
10 SOURCE="thunderbird"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="https://www.mozilla.org/"
13 WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/$lang/$TARBALL"
15 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
16 HOST_ARCH="i486"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
22 sed '/[0-9]*\.[0-9]*\./!d;s|.*">||;s|/.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Installation path
29 fx='/opt/mozilla/thunderbird-bin'
31 mkdir -p \
32 $install$fx \
33 $install/usr/bin \
34 $install/usr/share/applications \
35 $install/usr/share/pixmaps
37 # Copy everything
38 cp -a $src/* $install$fx
40 # Executable
41 ln -s $fx/thunderbird $install/usr/bin/thunderbird-bin
43 # Icon
44 cp -a $stuff/thunderbird-bin.png \
45 $install/usr/share/pixmaps
47 # Allow user updates
48 chmod -R a+w $install$fx
50 # Desktop shortcut
51 cp $stuff/thunderbird-bin.desktop \
52 $install/usr/share/applications
54 # Disable update due of old glibc
55 cp $stuff/policies.json $install$fx/distribution
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 cp -a $install/* $fs
62 }