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