wok-current annotate seamonkey-official/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (8 days ago)
parents 934055de50e2
children
rev   line source
mojo@19979 1 # SliTaz package receipt.
mojo@19979 2
mojo@19979 3 PACKAGE="seamonkey-official"
shann@25728 4 VERSION="2.53.18.2"
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
shann@25728 12 case $SLITAZ_ARCH in
shann@25728 13 i?86)
shann@25728 14 TARBALL="seamonkey-$VERSION.en-GB.linux-i686.tar.bz2"
shann@25728 15 WGET_URL="http://archive.seamonkey-project.org/releases/$VERSION/linux-i686/en-GB/$TARBALL" ;;
shann@25728 16 x86_64)
shann@25728 17 TARBALL="seamonkey-$VERSION.en-GB.linux-x86_64.tar.bz2"
shann@25728 18 WGET_URL="http://archive.seamonkey-project.org/releases/$VERSION/linux-x86_64/en-GB/$TARBALL" ;;
shann@25728 19 esac
Hans-G?nter@21896 20
shann@25728 21 DEPENDS="alsa-lib curl glib gtk+3 jpeg libevent libIDL libnotify
Hans-G?nter@21896 22 libvpx xorg-libX11 xorg-libXt"
Hans-G?nter@21896 23
shann@25728 24 HOST_ARCH="i486 x86_64"
mojo@19979 25
pascal@24462 26 # What is the latest version available today?
pascal@24462 27 current_version()
pascal@24462 28 {
pascal@24462 29 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24462 30 sed '/SeaMonkey [0-9]/!d;s|.*SeaMonkey ||;s|".*||;q'
pascal@24462 31 }
pascal@24462 32
mojo@19979 33 # Rules to configure and make the package.
mojo@19979 34 compile_rules()
mojo@19979 35 {
mojo@19979 36 # Installation path
mojo@19979 37 fx='/opt/seamonkey'
mojo@19979 38
mojo@19979 39 mkdir -p \
mojo@19979 40 $install$fx \
mojo@19979 41 $install/usr/bin \
mojo@19979 42 $install/usr/share/applications \
mojo@19979 43 $install/usr/share/pixmaps
mojo@19979 44
mojo@19979 45 # Copy everything
Hans-G?nter@23637 46 cp -a $src/* $install$fx
mojo@19979 47
mojo@19979 48 # Executable
Hans-G?nter@23637 49 ln -s $fx/seamonkey $install/usr/bin/seamonkey-official
mojo@19979 50
mojo@19979 51 # Allow user updates (save user's and our traffic)
mojo@19979 52 chmod -R a+w $install$fx
mojo@19979 53 }
mojo@19979 54
mojo@19979 55 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@19979 56 genpkg_rules()
mojo@19979 57 {
Hans-G?nter@23637 58 cp -a $install/* $fs
mojo@19979 59 }