SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "atkmm"

# SliTaz package receipt.

PACKAGE="atkmm"
VERSION="2.28.2"
CATEGORY="x-window"
SHORT_DESC="C++ interface for the popular Accessibility toolkit."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="LGPL2.1"
BUILD_DEPENDS="atk-dev glib-dev glibmm-dev libgiomm-dev pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://www.gnome.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="atk libsigc++"
BUILD_DEPENDS="atk-dev glibmm-dev libsigc++-dev meson"

current_version()
{
    wget -O - https://gitlab.gnome.org/GNOME/atkmm/-/tags 2>/dev/null | \
    sed '/tar.gz/!d;s|.*/atkmm-\(.*\).tar.gz".*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
        meson build \
            --prefix=/usr \
            --libdir=lib \
            --bindir=/usr/bin \
            --sbindir=/usr/sbin \
            --buildtype=release &&
        ninja -C build &&
        ninja -C build install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)