Magellan Linux

Contents of /branches/R11-unstable/extras/perl-net-libidn/perl-net-libidn-0.12-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32495 - (show annotations) (download)
Mon Apr 29 13:00:29 2019 UTC (5 years ago) by niro
File size: 390 byte(s)
-release branches/R11-unstable
1 # $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 }