Contents of /trunk/extras/perl-xml-simple/perl-xml-simple-2.24-r2.smage2
Parent Directory | Revision Log
Revision 29958 -
(show annotations)
(download)
Thu Oct 19 10:55:43 2017 UTC (6 years, 11 months ago) by niro
File size: 421 byte(s)
Thu Oct 19 10:55:43 2017 UTC (6 years, 11 months ago) by niro
File size: 421 byte(s)
auto added: ver bump to 2.24-r2
1 | # $Id$ |
2 | |
3 | PNAME="perl-xml-simple" |
4 | PVER="2.24" |
5 | PBUILD="r2" |
6 | |
7 | DESCRIPTION="Easy API to maintain XML (esp config files)." |
8 | |
9 | DEPEND=">= dev-lang/perl-5.26.1 |
10 | >= dev-perl/perl-xml-parser-2.41" |
11 | |
12 | CPAN_MODULE="XML-Simple" |
13 | CPAN_AUTHOR="grantm" |
14 | sminclude cpan |
15 | |
16 | postinstall() |
17 | { |
18 | _PNAME=xml-simple |
19 | |
20 | if [[ ! -z $(magequery -n ${_PNAME}) ]] |
21 | then |
22 | echo "Uninstalling deprecated package '${_PNAME}'..." |
23 | mage uninstall "${_PNAME}" |
24 | fi |
25 | } |