SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xcb-util-cursor"

# SliTaz package receipt.

PACKAGE="xcb-util-cursor"
VERSION="0.1.3"
CATEGORY="x-window"
TAGS="Xorg"
SHORT_DESC="XCB cursor library."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://xcb.freedesktop.org/"
LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xcb-util-cursor.html"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
TARBALL_SHA1="26562eb6d4151307f7b6a53453d360ecfc0563ac"

DEPENDS="libxcb xcb-util-image xcb-util-renderutil"
BUILD_DEPENDS="libxcb-dev xcb-util-dev xcb-util-image-dev xcb-util-renderutil-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | 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
}
6025 packages and 203653 files in current database (Fri May 31 00:00:08 2024)