wok annotate thunderbird-bin/receipt @ rev 24622
updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:02:21 2022 +0100 (2022-03-07) |
parents | da134f47b369 |
children | d765616e1f3d |
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 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \ |
pascal@24304 | 21 sed '/[0-9]*\.[0-9]*\./!d;s|.*">||;s|/.*||' | sort -Vr | sed q |
pascal@24304 | 22 } |
pascal@24304 | 23 |
mojo@21285 | 24 # Rules to configure and make the package. |
mojo@21285 | 25 compile_rules() |
mojo@21285 | 26 { |
mojo@21285 | 27 # Installation path |
mojo@21285 | 28 fx='/opt/mozilla/thunderbird-bin' |
mojo@21285 | 29 |
mojo@21285 | 30 mkdir -p \ |
mojo@21285 | 31 $install$fx \ |
mojo@21285 | 32 $install/usr/bin \ |
mojo@21285 | 33 $install/usr/share/applications \ |
mojo@21285 | 34 $install/usr/share/pixmaps |
mojo@21285 | 35 |
mojo@21285 | 36 # Copy everything |
mojo@21285 | 37 cp -a $src/* $install$fx |
mojo@21285 | 38 |
mojo@21285 | 39 # Executable |
mojo@21285 | 40 ln -s $fx/thunderbird $install/usr/bin/thunderbird-bin |
mojo@21285 | 41 |
mojo@21285 | 42 # Icon |
mojo@21285 | 43 cp -a $stuff/thunderbird-bin.png \ |
mojo@21285 | 44 $install/usr/share/pixmaps |
mojo@21285 | 45 |
mojo@21285 | 46 # Allow user updates |
mojo@21285 | 47 chmod -R a+w $install$fx |
mojo@21285 | 48 |
mojo@21285 | 49 # Desktop shortcut |
mojo@21285 | 50 cp $stuff/thunderbird-bin.desktop \ |
mojo@21285 | 51 $install/usr/share/applications |
mojo@21285 | 52 } |
mojo@21285 | 53 |
mojo@21285 | 54 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@21285 | 55 genpkg_rules() |
mojo@21285 | 56 { |
mojo@21285 | 57 cp -a $install/* $fs |
mojo@21285 | 58 } |