Magellan Linux

Contents of /trunk/extras/perl-authen-sasl/perl-authen-sasl-2.16-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31022 - (show annotations) (download)
Tue May 29 10:05:29 2018 UTC (5 years, 11 months ago) by niro
File size: 449 byte(s)
auto added: ver bump to 2.16-r3
1 # $Id$
2
3 PNAME="perl-authen-sasl"
4 PVER="2.16"
5 PBUILD="r3"
6
7 DESCRIPTION="SASL Authentication framework"
8
9 CPAN_MODULE="Authen-SASL"
10 CPAN_AUTHOR="GBARR"
11 sminclude cpan
12
13 postinstall()
14 {
15 _PNAME=authen-sasl
16
17 if [[ ! -z $(magequery -n ${_PNAME}) ]]
18 then
19 echo "Uninstalling deprecated package '${_PNAME}'..."
20 mage uninstall "${_PNAME}"
21 fi
22 }
23
24 src_compile()
25 {
26 # fixes perl-5.26 include changes
27 export PERL_USE_UNSAFE_INC=1
28 cpan_src_compile || die
29 }