wok-current annotate perl-image-librsvg/receipt @ rev 22687
at: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 19 18:20:59 2020 +0100 (2020-01-19) |
parents | 442615e1f82c |
children | 15650f5d595b |
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@18321 | 17 # Rules to configure and make the package. |
pascal@18321 | 18 compile_rules() |
pascal@18321 | 19 { |
pascal@18321 | 20 perl Makefile.PL && |
pascal@18321 | 21 make && |
pascal@18321 | 22 make install DESTDIR=$DESTDIR |
pascal@18321 | 23 } |
pascal@18321 | 24 |
pascal@18321 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18321 | 26 genpkg_rules() |
pascal@18321 | 27 { |
pascal@18321 | 28 mkdir -p $fs/usr |
pascal@18321 | 29 cp -a $install/usr/lib $fs/usr |
pascal@18321 | 30 } |