wok-next annotate perl-image-librsvg/receipt @ rev 19302
Up mutt (1.6.1)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jul 09 20:35:00 2016 +0100 (2016-07-09) |
parents | 442615e1f82c |
children | 1a86cb99cbbf |
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 } |