SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libxkbcommon"

# SliTaz package receipt.

PACKAGE="libxkbcommon"
VERSION="0.8.4"
CATEGORY="x-window"
SHORT_DESC="Keyboard handling library using XKB data."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://xkbcommon.org"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://xkbcommon.org/download/$TARBALL"

DEPENDS="libxcb xorg-xkeyboard-config"
BUILD_DEPENDS="bison libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev"

# 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()
{
    ./configure                        \
        --with-xkb-config-root=/usr/share/X11/xkb    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make 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
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)