File: packages

package info (click to toggle)
libiniconf-perl 1.03-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 56 kB
  • ctags: 11
  • sloc: perl: 23
file content (75 lines) | stat: -rw-r--r-- 2,800 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Source: libiniconf-perl
Section: interpreters
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.6
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/IniConf/>
Description: perl IniConf - a module for reading .ini-style configuration files
Origin: Debian
Bugs: debbugs://bugs.debian.org
Copyright: .
        Copyright (c) 1996,1997 Scott Hutton. All rights reserved.
        This program is free software; you can redistribute it
        and/or modify it under the same terms as Perl itself.
 .
 	a) the GNU General Public License as published by the Free
 	Software Foundation; either version 1, or (at your option) any
 	later version, or
 .
 	b) the "Artistic License" which comes with Debian.
 .
     You should have received a copy of the Artistic License with this
     Kit, in the file /usr/share/common-licenses/Artistic.  If not, I'll be
     glad to provide one.
 .
     You should also have received a copy of the GNU General Public
     License along with this system, in /usr/share/common-licenses/GPL; if not,
     write to the Free Software Foundation, Inc., 59 Temple Place - Suite
     330, Boston, MA 02111-1307, USA.
Major-Changes:
 none
Build: sh
 PERL=${PERL:-/usr/bin/perl}
 version=$($PERL -e 'printf "%.3f", $]')
 if dpkg --compare-versions "$version" lt "5.006"; then
     echo potato
     $PERL Makefile.PL
     make
 else
     echo woody
     $PERL Makefile.PL INSTALLDIRS=vendor
     make
 fi
Clean: sh
 test -f Makefile && touch Makefile && make distclean || true

Package: libiniconf-perl
Architecture: all
Depends: libconfig-inifiles-perl, []
Description: perl IniConf - a module for reading .ini-style configuration files.
 IniConf provides a way to have readable configuration files outside your Perl 
 script. The configuration can be safely reloaded upon receipt of a signal.
 .
 IniConf.pm has been replaced by Config::IniFiles - libconfig-inifiles-perl
 package.
 .
 Please move to that as soon as convenient. It should only mean replacing use
 `IniConf;' with use `Config::IniFiles;' if you choose not to use any of the
 cool new features.
Install: sh
 PERL=${PERL:-/usr/bin/perl}
 version=$($PERL -e 'printf "%.3f", $]')
 if dpkg --compare-versions "$version" lt "5.006"; then
     echo potato
     archlib=$($PERL -MConfig -e 'print $Config{installarchlib}')
     config="INSTALLDIRS=perl INSTALLMAN1DIR=$ROOT/usr/share/man/man1 INSTALLMAN3DIR=$ROOT/usr/share/man/man3 INSTALLPRIVLIB=$ROOT/usr/lib/perl5 INSTALLARCHLIB=$ROOT$archlib"
     make pure_install $config
 else
     echo woody
     make install PREFIX=$ROOT/usr
 fi
 yada install -dir /usr/share/man/man3
 ln -s Config::IniFiles.3pm.gz $ROOT/usr/share/man/man3/IniConf.3pm.gz
 yada install -doc Readme
 find $ROOT/usr -type f | xargs chmod -x
 yada perl