Contents of /trunk/extras/perl-module-build/perl-module-build-0.4224-r3.smage2
Parent Directory | Revision Log
Revision 31011 -
(show annotations)
(download)
Tue May 29 09:57:21 2018 UTC (6 years, 4 months ago) by niro
File size: 444 byte(s)
Tue May 29 09:57:21 2018 UTC (6 years, 4 months ago) by niro
File size: 444 byte(s)
auto added: ver bump to 0.4224-r3
1 | # $Id$ |
2 | |
3 | PNAME="perl-module-build" |
4 | PVER="0.4224" |
5 | PBUILD="r3" |
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 | } |