Annotation of /trunk/extras/perl-http-daemon/perl-http-daemon-6.01-r4.smage2
Parent Directory | Revision Log
Revision 31644 -
(hide annotations)
(download)
Wed Dec 5 09:04:48 2018 UTC (5 years, 9 months ago) by niro
File size: 492 byte(s)
Wed Dec 5 09:04:48 2018 UTC (5 years, 9 months ago) by niro
File size: 492 byte(s)
auto added: ver bump to 6.01-r4
1 | niro | 31644 | # $Id$ |
2 | |||
3 | PNAME="perl-http-daemon" | ||
4 | PVER="6.01" | ||
5 | PBUILD="r4" | ||
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 | } |