Annotation of /trunk/extras/perl-net-libidn/perl-net-libidn-0.12-r5.smage2
Parent Directory | Revision Log
Revision 31643 -
(hide annotations)
(download)
Wed Dec 5 09:04:25 2018 UTC (5 years, 9 months ago) by niro
File size: 390 byte(s)
Wed Dec 5 09:04:25 2018 UTC (5 years, 9 months ago) by niro
File size: 390 byte(s)
auto added: ver bump to 0.12-r5
1 | niro | 31643 | # $Id$ |
2 | |||
3 | PNAME="perl-net-libidn" | ||
4 | PVER="0.12" | ||
5 | PBUILD="r5" | ||
6 | |||
7 | DESCRIPTION="Perl bindings for GNU Libidn." | ||
8 | |||
9 | DEPEND=">= dev-lang/perl-5.26.1 | ||
10 | >= net-dns/libidn-1.35" | ||
11 | |||
12 | CPAN_MODULE=Net-LibIDN | ||
13 | CPAN_AUTHOR=thor | ||
14 | sminclude cpan | ||
15 | |||
16 | postinstall() | ||
17 | { | ||
18 | _PNAME=net-libidn | ||
19 | |||
20 | if [[ ! -z $(magequery -n ${_PNAME}) ]] | ||
21 | then | ||
22 | echo "Uninstalling deprecated package '${_PNAME}'..." | ||
23 | mage uninstall "${_PNAME}" | ||
24 | fi | ||
25 | } |