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
|
# $Id: /trunk/debian/dists/libclass-singleton-perl/debian/packages 129 2005-07-19T11:57:34.613100Z dexter $
# If the debian/rules or debian/control file is missing, rebuild the file:
#
# $ yada rebuild control
# $ yada rebuild rules
# Environment variables:
# don't run `make test'
# with_no_test=%{with_no_test}
Source: libclass-singleton-perl
Section: perl
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.2
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/Class/Class-Singleton-([0-9.]*)\.tar.gz>
Description: perl Class::Singleton - Implementation of a "Singleton" class
Copyright: Artistic
Copyright (C) 1998 Canon Research Centre Europe Ltd. All Rights Reserved.
Build-Depends-Indep: perl (>= 5.8)
Build: sh
PERL=${PERL:-/usr/bin/perl}
$PERL Makefile.PL INSTALLDIRS=vendor
make
%if %{without_no_test}
make test
%endif
Clean: sh
test -f Makefile && touch Makefile && make distclean || true
Package: libclass-singleton-perl
Architecture: all
Depends: []
Description: perl Class::Singleton - Implementation of a "Singleton" class
This is the Class::Singleton module. A Singleton describes an object class
that can have only one instance in any system. An example of a Singleton
might be a print spooler or system registry. This module implements a
Singleton class from which other classes can be derived. By itself, the
Class::Singleton module does very little other than manage the instantiation
of a single object. In deriving a class from Class::Singleton, your module
will inherit the Singleton instantiation method and can implement whatever
specific functionality is required.
.
For a description and discussion of the Singleton class, see
"Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2.
Install: sh
PERL=${PERL:-/usr/bin/perl}
make install PREFIX=$ROOT/usr
find $ROOT/usr/share -type f | xargs chmod -x
yada install -doc README
yada install -doc -as changelog Changes
|