wok annotate seamonkey-official/receipt @ rev 25397

updated viewnior (1.7 -> 1.8)
author Hans-G?nter Theisgen
date Tue Aug 02 10:30:16 2022 +0100 (22 months ago)
parents 1bab6695e007
children
rev   line source
mojo@19979 1 # SliTaz package receipt.
mojo@19979 2
mojo@19979 3 PACKAGE="seamonkey-official"
Hans-G?nter@23637 4 VERSION="2.53.1"
mojo@19979 5 CATEGORY="network"
Hans-G?nter@21896 6 TAGS="web-browser"
Hans-G?nter@21896 7 SHORT_DESC="Official Seamonkey build by the seamonkey-project (English language)."
mojo@19979 8 MAINTAINER="mojo@slitaz.org"
mojo@19979 9 LICENSE="MPL2"
mojo@19979 10 WEB_SITE="https://www.seamonkey-project.org"
Hans-G?nter@21896 11
Hans-G?nter@23637 12 TARBALL="seamonkey-$VERSION.en-GB.linux-i686.tar.bz2"
Hans-G?nter@21896 13 WGET_URL="https://archive.mozilla.org/pub/seamonkey/releases/$VERSION/linux-i686/en-GB/$TARBALL"
Hans-G?nter@21896 14
Hans-G?nter@23637 15 DEPENDS="alsa-lib curl glib gtk+ jpeg libevent libIDL libnotify
Hans-G?nter@21896 16 libvpx xorg-libX11 xorg-libXt"
Hans-G?nter@21896 17
mojo@19979 18 HOST_ARCH="i486"
mojo@19979 19
pascal@24462 20 # What is the latest version available today?
pascal@24462 21 current_version()
pascal@24462 22 {
pascal@24462 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24462 24 sed '/SeaMonkey [0-9]/!d;s|.*SeaMonkey ||;s|".*||;q'
pascal@24462 25 }
pascal@24462 26
mojo@19979 27 # Rules to configure and make the package.
mojo@19979 28 compile_rules()
mojo@19979 29 {
mojo@19979 30 # Installation path
mojo@19979 31 fx='/opt/seamonkey'
mojo@19979 32
mojo@19979 33 mkdir -p \
mojo@19979 34 $install$fx \
mojo@19979 35 $install/usr/bin \
mojo@19979 36 $install/usr/share/applications \
mojo@19979 37 $install/usr/share/pixmaps
mojo@19979 38
mojo@19979 39 # Copy everything
Hans-G?nter@23637 40 cp -a $src/* $install$fx
mojo@19979 41
mojo@19979 42 # Executable
Hans-G?nter@23637 43 ln -s $fx/seamonkey $install/usr/bin/seamonkey-official
mojo@19979 44
mojo@19979 45 # Allow user updates (save user's and our traffic)
mojo@19979 46 chmod -R a+w $install$fx
mojo@19979 47 }
mojo@19979 48
mojo@19979 49 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@19979 50 genpkg_rules()
mojo@19979 51 {
Hans-G?nter@23637 52 cp -a $install/* $fs
mojo@19979 53 }