SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hexchat"

# SliTaz package receipt.

PACKAGE="hexchat"
VERSION="2.16.1"
CATEGORY="network"
SHORT_DESC="IRC client using GTK+."
MAINTAINER="lenios@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://hexchat.github.io/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://dl.hexchat.net/$PACKAGE/$TARBALL"

SUGGESTED="hexchat-lang"
DEPENDS="dbus-glib gettext-base gtk+ harfbuzz libcanberra libxml2
    openssl xorg-libXdamage"
BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
    shared-mime-info"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    #    2.16.1
    #    meson unknown options from configure:
    #        --disable-tcl
    #        --enable-spell=static
    #        --enable-ipv6

    export    CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"

    meson    _build                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        -D dbus=disabled        \
        -D libcanberra=enabled        \
        -D with-lua=false        \
        -D plugin=false            \
        -D with-python=false &&
    ninja    -C _build &&
    ninja    -C _build install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    # cp -a $install/usr/share/dbus-1 $fs/usr/share
    cook_copy_folders    bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)