wok view thunderbird-bin-fr/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | da134f47b369 |
children | b56b38cfd475 |
line source
1 # SlitTaz package receipt.
3 PACKAGE="thunderbird-bin-fr"
4 lang="fr"
5 VERSION="68.9.0"
6 CATEGORY="network"
7 SHORT_DESC="Mozilla's Thunderbird email application (French language)."
8 MAINTAINER="mojo@slitaz.org"
9 LICENSE="MPL"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 SOURCE="thunderbird"
12 WEB_SITE="http://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
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cp -a $install/* $fs
59 }