File: libcgi-ssi-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 (79 lines) | stat: -rw-r--r-- 2,716 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# $Id: /trunk/debian/dists/libcgi-ssi-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: libcgi-ssi-perl
Section: perl
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.1
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/CGI/CGI-SSI-([0-9.]*)\.tar.gz>
Description: perl CGI::SSI - Use SSI from CGI scripts
Copyright: .
 Copyright 2000 James Tolley   All Rights Reserved.
 .
 This is free software. You may copy 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.
Build-Depends-Indep: perl (>= 5.8)
%if %{!?without_test:1}
Build-Depends-Indep: libhtml-simpleparse-perl
Build-Depends-Indep: perl-modules
Build-Depends-Indep: libwww-perl
Build-Depends-Indep: liburi-perl
Build-Depends-Indep: libtimedate-perl
%endif
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"
%if %{!?without_test:1}
 make test
%endif
Clean: sh
 test -f Makefile && touch Makefile && make distclean || true

Package: libcgi-ssi-perl
Architecture: all
Depends: libhtml-simpleparse-perl
Depends: perl-modules
Depends: libwww-perl
Depends: liburi-perl
Depends: libtimedate-perl
Depends: []
Description: perl CGI::SSI - Use SSI from CGI scripts
 CGI::SSI is meant to be used as an easy way to filter shtml through CGI
 scripts in a loose imitation of Apache's mod_include. If you're using
 Apache, you may want to use either mod_include or the Apache::SSI module
 instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
 server behaves make some SSI directives impossible to imitate from a CGI
 script.
Install: sh
 PERL=${PERL:-/usr/bin/perl}
 make install PREFIX=$ROOT/usr
 yada install -doc README
 yada install -doc -as changelog Changes