wok-6.x view thunderbird-bin-fr/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (19 months ago) |
parents | b56b38cfd475 |
children |
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 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
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cp -a $install/* $fs
59 }