Annotation of /trunk/extras/perl-module-build/perl-module-build-0.4224-r4.smage2
Parent Directory | Revision Log
Revision 31635 -
(hide annotations)
(download)
Wed Dec 5 09:00:53 2018 UTC (5 years, 9 months ago) by niro
File size: 444 byte(s)
Wed Dec 5 09:00:53 2018 UTC (5 years, 9 months ago) by niro
File size: 444 byte(s)
auto added: ver bump to 0.4224-r4
1 | niro | 31635 | # $Id$ |
2 | |||
3 | PNAME="perl-module-build" | ||
4 | PVER="0.4224" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | DESCRIPTION="Build and install Perl modules." | ||
8 | |||
9 | DEPEND=">= dev-lang/perl-5.26.1 | ||
10 | >= dev-perl/perl-yaml-1.23 | ||
11 | >= dev-perl/perl-archive-tar-2.24" | ||
12 | |||
13 | CPAN_MODULE="Module-Build" | ||
14 | CPAN_AUTHOR="leont" | ||
15 | sminclude cpan | ||
16 | |||
17 | postinstall() | ||
18 | { | ||
19 | _PNAME=module-build | ||
20 | |||
21 | if [[ ! -z $(magequery -n ${_PNAME}) ]] | ||
22 | then | ||
23 | echo "Uninstalling deprecated package '${_PNAME}'..." | ||
24 | mage uninstall "${_PNAME}" | ||
25 | fi | ||
26 | } |