wok-next annotate perl-gd/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
rev | line source |
---|---|
al@20955 | 1 # SliTaz package receipt v2. |
pascal@4940 | 2 |
pascal@4940 | 3 PACKAGE="perl-gd" |
al@20955 | 4 VERSION="2.69" |
al@19770 | 5 CATEGORY="perl" |
al@19770 | 6 SHORT_DESC="GD - Interface to Gd Graphics Library" |
pascal@4940 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19770 | 9 WEB_SITE="https://metacpan.org/release/GD" |
al@20884 | 10 REPOLOGY="perl:gd" |
al@19770 | 11 |
al@19770 | 12 TARBALL="GD-$VERSION.tar.gz" |
al@19770 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$TARBALL" |
al@19770 | 14 |
al@19770 | 15 BUILD_DEPENDS="perl-dev libgd-dev libgd perl-extutils-pkgconfig" |
pascal@4940 | 16 |
al@20955 | 17 compile_rules() { |
al@19770 | 18 # avoid interactive questions |
al@19770 | 19 PERL_MM_USE_DEFAULT=1 \ |
al@19770 | 20 perl Makefile.PL && |
al@20955 | 21 make && |
al@20955 | 22 make DESTDIR=$install install && |
al@19770 | 23 |
al@19770 | 24 chmod -R u+w $install |
pascal@4940 | 25 } |
pascal@4940 | 26 |
al@20955 | 27 genpkg_rules() { |
al@19770 | 28 copy @std |
al@20955 | 29 DEPENDS="perl libgd" |
pascal@4940 | 30 } |