SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-cairo"

# SliTaz package receipt.

PACKAGE="perl-cairo"
VERSION="1.109"
CATEGORY="development"
SHORT_DESC="Perl interface to the cairo library."
MAINTAINER="claudinei@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://metacpan.org/pod/Cairo"
REPOLOGY="perl:cairo"

SOURCE="Cairo"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"

DEPENDS="cairo fontconfig freetype libpng libxml2 perl"
BUILD_DEPENDS="cairo cairo-dev fontconfig-dev freetype-dev libpng-dev
    libxml2-dev perl perl-extutils-depends perl-extutils-pkgconfig
    perl-test-number-delta"

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    perl Makefile.PL &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)