Contents of /trunk/extras/perl-http-daemon/perl-http-daemon-6.01-r3.smage2
Parent Directory | Revision Log
Revision 31020 -
(show annotations)
(download)
Tue May 29 10:04:13 2018 UTC (6 years, 4 months ago) by niro
File size: 492 byte(s)
Tue May 29 10:04:13 2018 UTC (6 years, 4 months ago) by niro
File size: 492 byte(s)
auto added: ver bump to 6.01-r3
1 | # $Id$ |
2 | |
3 | PNAME="perl-http-daemon" |
4 | PVER="6.01" |
5 | PBUILD="r3" |
6 | |
7 | DESCRIPTION="A simple http server class." |
8 | |
9 | DEPEND=">= dev-lang/perl-5.26.1 |
10 | >= dev-perl/perl-uri-1.71 |
11 | >= dev-perl/perl-http-date-6 |
12 | >= dev-perl/perl-http-message-6 |
13 | >= dev-perl/perl-lwp-mediatypes-6" |
14 | |
15 | CPAN_MODULE=HTTP-Daemon |
16 | CPAN_AUTHOR=GAAS |
17 | sminclude cpan |
18 | |
19 | postinstall() |
20 | { |
21 | _PNAME=http-daemon |
22 | |
23 | if [[ ! -z $(magequery -n ${_PNAME}) ]] |
24 | then |
25 | echo "Uninstalling deprecated package '${_PNAME}'..." |
26 | mage uninstall "${_PNAME}" |
27 | fi |
28 | } |