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