Annotation of /trunk/extras/perl-net-libidn/perl-net-libidn-0.12-r4.smage2
Parent Directory
|
Revision Log
Revision 31221 -
(hide annotations)
(download)
Wed Jun 13 07:25:46 2018 UTC (6 years ago) by niro
File size: 390 byte(s)
Wed Jun 13 07:25:46 2018 UTC (6 years ago) by niro
File size: 390 byte(s)
-rebuild
1 | niro | 31221 | # $Id$ |
2 | |||
3 | PNAME="perl-net-libidn" | ||
4 | PVER="0.12" | ||
5 | PBUILD="r4" | ||
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 | } |