wok-6.x view perl-image-librsvg/receipt @ rev 25522

created recipes for libtermkey and libtermkey-dev 0.22
author Hans-G?nter Theisgen
date Fri Feb 24 17:12:54 2023 +0100 (20 months ago)
parents 46fc8daa3b41
children
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 }