File: libclass-factory-util-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 (65 lines) | stat: -rw-r--r-- 2,365 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
60
61
62
63
64
65
# $Id: /trunk/debian/updates/libclass-factory-util-perl/debian/packages 5 2005-02-16T19:48:00.421413Z svm  $

# Environment variables:
#   without_test=%{$without_test}  - don't run `make test'

%define without_test %{?$without_test:1}%{!?$without_test:0}

Source: libclass-factory-util-perl
Section: perl
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.0
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/Class/Class-Factory-Util-([0-9.]*)\.tar.gz>
Description: perl Class::Factory::Util - Provide utility methods for factory classes
Packaged-For: debian
Copyright: .
 Dave Rolsky, <autarch@urth.org>.
 .
 Removed from Alzabo and packaged by Terrence Brannon,
 <tbone@cpan.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-Indep: perl (>= 5.8)
Build-Indep: sh
 PERL=${PERL:-/usr/bin/perl}
 $PERL Makefile.PL INSTALLDIRS=vendor
 make
%if %{!?without_test:1}
 make test
%endif
Clean: sh
 test -f Makefile && touch Makefile && make distclean || true

Package: libclass-factory-util-perl
Architecture: all
Description: perl Class::Factory::Util - Provide utility methods for factory classes
 This module contains methods that are useful for factory classes.
 .
 When this module is loaded, it creates a method in its caller named
 subclasses().  This method returns a list of the available
 subclasses for the package.  It does this by looking in the library
 directory containing the caller, and finding any modules in its
 immediate subdirectories.
 .
 So if you have the modules "Foo::Base", "Foo::Base::Bar", and
 "Foo::Base::Baz", then the return value of "Foo::Base->subclasses()"
 would be "Bar" and "Baz".
Install: sh
 PERL=${PERL:-/usr/bin/perl}
 make install PREFIX=$ROOT/usr
 yada install -doc -as changelog Changes
 yada perl