Magellan Linux

Contents of /trunk/extras/perl-io-zlib/perl-io-zlib-1.10-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31631 - (show annotations) (download)
Wed Dec 5 08:59:08 2018 UTC (5 years, 4 months ago) by niro
File size: 458 byte(s)
auto added: ver bump to 1.10-r4
1 # $Id$
2
3 PNAME="perl-io-zlib"
4 PVER="1.10"
5 PBUILD="r4"
6
7 DESCRIPTION="IO:: style interface to Compress::Zlib."
8
9 DEPEND=">= dev-lang/perl-5.26.1
10 >= dev-perl/perl-compress-zlib-2.015"
11
12 CPAN_MODULE="IO-Zlib"
13 CPAN_AUTHOR="TOMHUGHES"
14 sminclude cpan
15
16 UP2DATE="updatecmd_perl ${CPAN_MODULE} gz"
17
18 postinstall()
19 {
20 _PNAME=io-zlib
21
22 if [[ ! -z $(magequery -n ${_PNAME}) ]]
23 then
24 echo "Uninstalling deprecated package '${_PNAME}'..."
25 mage uninstall "${_PNAME}"
26 fi
27 }