File: libapache-asp-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 (76 lines) | stat: -rw-r--r-- 3,577 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
Source: libapache-asp-perl
Section: interpreters
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.1.0
Upstream-Source: <URL:http://www.perl.com/CPAN/modules/by-module/Apache/>
Description: perl Apache::ASP - Active Server Pages for Apache with mod_perl
Packaged-For: Debian
Copyright: GPL
     Copyright (c) 1998-2000, Joshua Chamas, Chamas Enterprises Inc. All
     rights reserved.
 .
     Apache::ASP is a perl native port of Active Server Pages for Apache and
     mod_perl. This software is licensed under the GPL.
Major-Changes:
 [001] disabled prebuild dependecies for perl
Build-Depends-Indep: debhelper (>= 2.0)
Patches: dpatch.*
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: libapache-asp-perl
Architecture: all
Depends: ${perl:Depends}, libapache-mod-perl (>= 1.15-2) | apache-perl, libmldbm-perl (>= 2.00-1), libdigest-md5-perl, data-dumper (>= 2.09-1) | perl-5.005, libwww-perl (>= 5.42-1)
Recommends: libcgi-pm-perl (>= 2.53)
Suggests: libapache-filter-perl, libapache-ssi-perl, libhtml-clean-perl, libnet-perl, libxml-xslt-perl, libtie-cache-perl
Description: perl Apache::ASP - Active Server Pages for Apache with mod_perl.
 This perl module provides an Active Server Pages port to the Apache Web
 Server with perl as the host scripting language. Active Server Pages is
 a web application platform that originated with the Microsoft NT/IIS
 server. Under Apache for Unix and Win32 platforms it allows a developer
 to create dynamic web applications with session management and embedded
 perl code.
 .
 This module works under the Apache Web Server with the mod_perl module
 enabled. See http://www.apache.org and http://perl.apache.org for
 further information.
 .
 This is a portable solution, similar to ActiveState's PerlScript for
 NT/IIS ASP. Work has been done and will continue to make ports to and
 from this implementation as smooth as possible.
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
 yada install -doc -as changelog CHANGES
 yada install -doc README
 cp -a site $ROOT/usr/share/doc/$PACKAGE/html
 cp -a dev $ROOT/usr/share/doc/$PACKAGE/dev
 yada install -doc -subdir examples -as index.htm debian/libapache-asp-perl.examples.htm 
 yada install -doc -subdir examples site/eg/.htaccess
 ln -s index.htm $ROOT/usr/share/doc/$PACKAGE/examples/index.html
 chmod -x $(find $ROOT/usr -type f)
 find $ROOT/usr/lib/perl5 -type f -print0 | xargs --null -r \
     perl -i -pe '$_ = "#!/usr/bin/perl$1\n" if m|^#!.*/perl(.*)$|;'
 find $ROOT/usr/share/doc/$PACKAGE/html -type f -print0 | xargs --null -r \
     perl -i -pe '$_ = "" if m<^#!(?:.*/|)perl5?(.*)$>;'	
 find $ROOT/usr/share/doc/$PACKAGE/dev -type f -print0 | xargs --null -r \
     perl -i -pe '$_ = "" if m<^#!(?:.*/|)perl5?(.*)$>;'	
 dh_perl -P$ROOT
 dh_shlibdeps -P$ROOT
Finalise: sh
 gzip -d $(find $ROOT/usr/share/doc/$PACKAGE/html -name '*.gz')
 gzip -d $(find $ROOT/usr/share/doc/$PACKAGE/dev -name '*.gz')
 dh_md5sums -P$ROOT
Preinst: sh
 PACKAGE=libapache-asp-perl
 # remove outdated symlink
 if test -L "/usr/share/doc/$PACKAGE/examples"; then
   rm -f "/usr/share/doc/$PACKAGE/examples"
 fi