SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pixman"

# SliTaz package receipt.

PACKAGE="pixman"
VERSION="0.40.0"
CATEGORY="x-window"
SHORT_DESC="Pixel-manipulation library for X and Cairo."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://pixman.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://cairographics.org/releases/$TARBALL"

DEPENDS="glibc-base"
BUILD_DEPENDS="libpng-dev"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --enable-gtk=no    \
        --enable-libpng    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)