Magellan Linux

Annotation of /trunk/extras/perl-html-parser/perl-html-parser-3.72-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31014 - (hide annotations) (download)
Tue May 29 10:00:09 2018 UTC (5 years, 11 months ago) by niro
File size: 475 byte(s)
auto added: ver bump to 3.72-r3
1 niro 31014 # $Id$
2    
3     PNAME="perl-html-parser"
4     PVER="3.72"
5     PBUILD="r3"
6    
7     DESCRIPTION="Perl HTML parser class."
8    
9     DEPEND=">= dev-lang/perl-5.26.1
10     >= dev-perl/perl-html-tagset-3.20"
11    
12     if mqueryfeature "check"
13     then
14     SDEPEND+="
15     >= dev-perl/perl-test-pod-1"
16     fi
17    
18     CPAN_MODULE=HTML-Parser
19     CPAN_AUTHOR=GAAS
20     sminclude cpan
21    
22     postinstall()
23     {
24     _PNAME=html-parser
25    
26     if [[ ! -z $(magequery -n ${_PNAME}) ]]
27     then
28     echo "Uninstalling deprecated package '${_PNAME}'..."
29     mage uninstall "${_PNAME}"
30     fi
31     }