Contents of /branches/R11-unstable/extras/perl-module-build/perl-module-build-0.4224-r4.smage2
Parent Directory | Revision Log
Revision 32496 -
(show annotations)
(download)
Mon Apr 29 13:00:35 2019 UTC (5 years, 4 months ago) by niro
File size: 444 byte(s)
Mon Apr 29 13:00:35 2019 UTC (5 years, 4 months ago) by niro
File size: 444 byte(s)
-release branches/R11-unstable
1 | # $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 | } |