Magellan Linux

Contents of /branches/R11-unstable/extras/perl-io-zlib/perl-io-zlib-1.10-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32500 - (show annotations) (download)
Mon Apr 29 13:01:10 2019 UTC (5 years ago) by niro
File size: 458 byte(s)
-release branches/R11-unstable
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 }