wok view perl-pango/receipt @ rev 25703

some perl-*: update web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 16:09:04 2024 +0000 (2 weeks ago)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-pango"
4 SOURCE="Pango"
5 VERSION="1.227"
6 CATEGORY="development"
7 SHORT_DESC="Layout and render international text."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="LGPL2.1"
10 DEPENDS="perl pango perl-glib perl-cairo xcb-util"
11 BUILD_DEPENDS="$DEPENDS glib-dev pango-dev cairo-dev freetype-dev \
12 libpng-dev fontconfig-dev perl-extutils-depends perl-extutils-pkgconfig"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="https://metacpan.org/dist/Pango"
15 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 perl Makefile.PL &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 rm -rf $pkgdir/installnone
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }