Annotation of /trunk/extras/perl-xml-simple/perl-xml-simple-2.25-r1.smage2
Parent Directory | Revision Log
Revision 31024 -
(hide annotations)
(download)
Tue May 29 10:06:31 2018 UTC (6 years, 3 months ago) by niro
File size: 421 byte(s)
Tue May 29 10:06:31 2018 UTC (6 years, 3 months ago) by niro
File size: 421 byte(s)
auto added: ver bump to 2.25-r1
1 | niro | 31024 | # $Id$ |
2 | |||
3 | PNAME="perl-xml-simple" | ||
4 | PVER="2.25" | ||
5 | PBUILD="r1" | ||
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 | } |