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
|
Source: libiniconf-perl
Section: interpreters
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.0.1
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/IniConf/>
Description: perl IniConf - A Module for reading .ini-style configuration files
Packaged-For: Debian
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/doc/copyright/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/doc/copyright/GPL; if not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite
330, Boston, MA 02111-1307, USA.
Major-Changes:
Build-Depends: debhelper (>= 2.0)
Build: sh
PERL=${PERL:-/usr/bin/perl}
$PERL Makefile.PL
make CFLAGS="-O2 -g -Wall"
Clean: sh
test -f Makefile && touch Makefile && make distclean || true
Package: libiniconf-perl
Architecture: all
Depends: ${perl:Depends} | 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.
Install: sh
PERL=${PERL:-/usr/bin/perl}
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
dh_perl -P$ROOT
Finalise: sh
dh_md5sums -P$ROOT
Postinst: sh
PACKAGE=libiniconf-perl
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a ! -e /usr/doc/$PACKAGE -a -d /usr/share/doc/$PACKAGE ]; then
ln -sf ../share/doc/$PACKAGE /usr/doc/$PACKAGE
fi
fi
Prerm: sh
PACKAGE=libiniconf-perl
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PACKAGE ]; then
rm -f /usr/doc/$PACKAGE
fi
|