SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cairo"

# SliTaz package receipt.

PACKAGE="cairo"
VERSION="1.10.2"
CATEGORY="x-window"
SHORT_DESC="2D graphics library."
MAINTAINER="pankso@slitaz.org"
DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
BUILD_DEPENDS="pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.cairographics.org/"
WGET_URL="http://cairographics.org/releases/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
    ./configure \
        --prefix=/usr \
         --mandir=/usr/share/man \
        --with-html-dir=/usr/share/doc \
        --enable-xcb \
        --enable-tee \
        --disable-static \
         $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)