File: libparams-validate-perl.packages

package info (click to toggle)
yada 0.34
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,160 kB
  • ctags: 83
  • sloc: perl: 3,554; makefile: 26; sh: 12
file content (59 lines) | stat: -rw-r--r-- 2,254 bytes parent folder | download
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
Source: libparams-validate-perl
Section: perl
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.9
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/Attribute/Params-Validate-([0-9.]*)\.tar.gz>
Description: perl Params::Validate - Validate method/function parameters
Packaged-For: debian
Copyright: .
 Dave Rolsky, <autarch@urth.org> and Ilya Martynov <ilya@martynov.org>
 .
     Copyright 1989-2001, Larry Wall  All rights reserved.
 .
     This program is free software; you can redistribute it and/or modify
     it under the terms of either:
 .
     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 Perl.
 .
     On Debian GNU/Linux systems, the complete text of the GNU General
     Public License can be found in `/usr/share/common-licenses/GPL' and
     the Artistic Licence in `/usr/share/common-licenses/Artistic'.
Build-Depends: perl (>= 5.8)
Build: sh
 CC=${CC:-gcc}
 CFLAGS=${CFLAGS:--Wall -g}
 if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
     CFLAGS="$CFLAGS -O0"
 else
     CFLAGS="$CFLAGS -O2"
 fi
 PERL=${PERL:-/usr/bin/perl}
 $PERL Makefile.PL INSTALLDIRS=vendor
 make CC="$CC" OPTIMIZE="$CFLAGS"
Clean: sh
 test -f Makefile && touch Makefile && make distclean || true

Package: libparams-validate-perl
Architecture: any
Depends: libattribute-handlers-perl, []
Description: perl Params::Validate - Validate method/function parameters
 The Params::Validate module allows you to validate method or function
 call parameters to an arbitrary level of specificity.  At the simplest
 level, it is capable of validating the required parameters were given
 and that no unspecified additional parameters were passed in.
 .
 It is also capable of determining that a parameter is of a specific
 type, that it is an object of a certain class hierarchy, that it
 possesses certain methods, or applying validation callbacks to
 arguments.
Install: sh
 PERL=${PERL:-/usr/bin/perl}
 make install PREFIX=$ROOT/usr
 find $ROOT/usr/*/perl* -type f -print0 | xargs -0 chmod -x
 yada install -doc -as changelog Changes
 yada perl