wok-current view perl-cairo/receipt @ rev 24418

clamtk: replaced perl-gtk2 by perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:25:31 2022 +0100 (2022-02-11)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-cairo"
4 VERSION="1.109"
5 CATEGORY="development"
6 SHORT_DESC="Perl interface to the cairo library."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://metacpan.org/pod/Cairo"
10 REPOLOGY="perl:cairo"
12 SOURCE="Cairo"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
16 DEPENDS="cairo fontconfig freetype libpng libxml2 perl"
17 BUILD_DEPENDS="cairo cairo-dev fontconfig-dev freetype-dev libpng-dev
18 libxml2-dev perl perl-extutils-depends perl-extutils-pkgconfig
19 perl-test-number-delta"
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 perl Makefile.PL &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }