SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xcb-util-wm"

# SliTaz package receipt.

PACKAGE="xcb-util-wm"
VERSION="0.4.1"
CATEGORY="x-window"
SHORT_DESC="Utility libraries for XC Binding - client and window-manager helpers for ICCCM."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="other"
WEB_SITE="https://xcb.freedesktop.org/XcbUtil/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"

DEPENDS="libxcb"
BUILD_DEPENDS="libxcb-dev xorg-util-macros"

HOST_ARCH="i486 arm"

# 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            \
        --disable-static    \
        $CONFIGURE_ARGS &&
    make &&
    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
}
6047 packages and 207212 files in current database (Tue Jun 25 15:15:29 2024)