SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "seamonkey-official"

# SliTaz package receipt.

PACKAGE="seamonkey-official"
VERSION="2.53.18.2"
CATEGORY="network"
TAGS="web-browser"
SHORT_DESC="Official Seamonkey build by the seamonkey-project (English language)."
MAINTAINER="mojo@slitaz.org"
LICENSE="MPL2"
WEB_SITE="https://www.seamonkey-project.org"

case $SLITAZ_ARCH in
        i?86)
        TARBALL="seamonkey-$VERSION.en-GB.linux-i686.tar.bz2"
                WGET_URL="http://archive.seamonkey-project.org/releases/$VERSION/linux-i686/en-GB/$TARBALL" ;;
        x86_64)
        TARBALL="seamonkey-$VERSION.en-GB.linux-x86_64.tar.bz2"
                WGET_URL="http://archive.seamonkey-project.org/releases/$VERSION/linux-x86_64/en-GB/$TARBALL" ;;
esac

DEPENDS="alsa-lib curl glib gtk+3 jpeg libevent libIDL libnotify 
    libvpx xorg-libX11 xorg-libXt"

HOST_ARCH="i486 x86_64"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/SeaMonkey [0-9]/!d;s|.*SeaMonkey ||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    # Installation path
    fx='/opt/seamonkey'

    mkdir -p \
        $install$fx \
        $install/usr/bin \
        $install/usr/share/applications \
        $install/usr/share/pixmaps 

    # Copy everything
    cp -a $src/*    $install$fx

    # Executable
    ln -s $fx/seamonkey    $install/usr/bin/seamonkey-official

    # Allow user updates (save user's and our traffic)
    chmod -R a+w $install$fx
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)