SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libxklavier"

# SliTaz package receipt.

PACKAGE="libxklavier"
VERSION="5.4"
CATEGORY="system-tools"
SHORT_DESC="Library providing high-level API for XKB."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://freedesktop.org/wiki/Software/LibXklavier/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://gitlab.freedesktop.org/archived-projects/$PACKAGE/-/archive/$PACKAGE-$VERSION/$PACKAGE-$TARBALL"

DEPENDS="glib xorg-libXi xorg-libxkbfile"
BUILD_DEPENDS="automake file glib-dev gtk-doc iso-codes \
    xz gettext-tools libtool libxml2-dev xorg-xkbcomp"

# What is the latest version available today?
current_version()
{
    wget -O - 'https://gitlab.freedesktop.org/archived-projects/libxklavier/-/tags?sort=updated_desc' 2>/dev/null | \
    sed '/libxklavier-[0-9]/!d;s|.*libxklavier-||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure            \
        --disable-static    \
        --disable-gtk-doc    \
        --enable-xkb-support    \
        --enable-xmodmap-support\
        $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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)