Annotation of /trunk/extras/perl-xml-writer/perl-xml-writer-0.625-r2.smage2
Parent Directory | Revision Log
Revision 29923 -
(hide annotations)
(download)
Thu Oct 19 10:12:28 2017 UTC (6 years, 11 months ago) by niro
File size: 352 byte(s)
Thu Oct 19 10:12:28 2017 UTC (6 years, 11 months ago) by niro
File size: 352 byte(s)
auto added: ver bump to 0.625-r2
1 | niro | 29923 | # $Id$ |
2 | |||
3 | PNAME="perl-xml-writer" | ||
4 | PVER="0.625" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | DESCRIPTION="Perl extension for writing XML documents." | ||
8 | |||
9 | CPAN_MODULE="XML-Writer" | ||
10 | CPAN_AUTHOR="josephw" | ||
11 | sminclude cpan | ||
12 | |||
13 | postinstall() | ||
14 | { | ||
15 | _PNAME=xml-writer | ||
16 | |||
17 | if [[ ! -z $(magequery -n ${_PNAME}) ]] | ||
18 | then | ||
19 | echo "Uninstalling deprecated package '${_PNAME}'..." | ||
20 | mage uninstall "${_PNAME}" | ||
21 | fi | ||
22 | } |