wok view perl-image-librsvg/receipt @ rev 25162
updated pycurl (7.43.0.3 -> 7.45.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:12:48 2022 +0100 (2022-07-01) |
parents | 46fc8daa3b41 |
children | 0af8df0b46fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-image-librsvg"
4 VERSION="0.07"
5 CATEGORY="development"
6 SHORT_DESC="Image::LibRSVG module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Image-LibRSVG"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://metacpan.org/release/Image-LibRSVG"
12 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TOMSON/$TARBALL"
14 DEPENDS="perl librsvg"
15 BUILD_DEPENDS="wget perl librsvg-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 perl Makefile.PL &&
27 make &&
28 make install DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }