SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cairomm"

# SliTaz package receipt.

PACKAGE="cairomm"
VERSION="1.12.2"
CATEGORY="x-window"
SHORT_DESC="2D graphics library (mm)."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://www.cairographics.org/"
WGET_URL="https://www.cairographics.org/releases/$TARBALL"

DEPENDS="pixman cairo libsigc++ xcb-util"
BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev libxml2-dev"

HOST_ARCH="i486 x86_64"

current_version()
{
    wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \
    sed '/cairomm-/!d;s|.*cairomm-||;s|.tar.*||' | sed '$!d'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $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
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)