1
--- eperl-2.2.5.orig/Makefile.in
2
+++ eperl-2.2.5/Makefile.in
7
-exec_prefix = @exec_prefix@
11
+exec_prefix = ${prefix}
12
+bindir = ${prefix}/@bindir@
13
+libdir = ${prefix}/@libdir@
14
+mandir = ${prefix}/@mandir@
17
# ------------------------------------------------
18
--- eperl-2.2.5.orig/configure
19
+++ eperl-2.2.5/configure
20
@@ -1745,45 +1745,39 @@
24
-bindir="$exec_prefix/bin"
26
if test .$ac_with_uvar = .yes; then
27
- echo 'bindir="$exec_prefix/bin"' >>$ac_uvar_editfile
28
+ echo 'bindir="bin"' >>$ac_uvar_editfile
32
-libdir="$exec_prefix/lib"
34
if test .$ac_with_uvar = .yes; then
35
- echo 'libdir="$exec_prefix/lib"' >>$ac_uvar_editfile
36
+ echo 'libdir="lib"' >>$ac_uvar_editfile
40
-datadir="$prefix/var"
42
if test .$ac_with_uvar = .yes; then
43
- echo 'datadir="$prefix/var"' >>$ac_uvar_editfile
44
+ echo 'datadir="var"' >>$ac_uvar_editfile
48
-statdir="$prefix/lib"
50
if test .$ac_with_uvar = .yes; then
51
- echo 'statdir="$prefix/lib"' >>$ac_uvar_editfile
52
+ echo 'statdir="lib"' >>$ac_uvar_editfile
56
-includedir="$prefix/include"
58
if test .$ac_with_uvar = .yes; then
59
- echo 'includedir="$prefix/include"' >>$ac_uvar_editfile
60
+ echo 'includedir="include"' >>$ac_uvar_editfile
64
-oldincludedir="/usr/include"
66
if test .$ac_with_uvar = .yes; then
67
- echo 'oldincludedir="/usr/include"' >>$ac_uvar_editfile
71
-mandir="$prefix/man/man1"
72
- if test .$ac_with_uvar = .yes; then
73
- echo 'mandir="$prefix/man/man1"' >>$ac_uvar_editfile
74
+ echo 'mandir="man/man1"' >>$ac_uvar_editfile
82
- * ) libdir="${exec_prefix}/lib/eperl" ;;
83
+ * ) libdir="lib/eperl" ;;
87
--- eperl-2.2.5.orig/configure.in
88
+++ eperl-2.2.5/configure.in
90
# compliant to the GNU standards.
93
-AC_UVAR_SET(bindir, $exec_prefix/bin)
94
-AC_UVAR_SET(libdir, $exec_prefix/lib)
95
-AC_UVAR_SET(datadir, $prefix/var)
96
-AC_UVAR_SET(statdir, $prefix/lib)
97
-AC_UVAR_SET(includedir, $prefix/include)
98
-AC_UVAR_SET(oldincludedir, /usr/include)
99
-AC_UVAR_SET(mandir, $prefix/man/man1)
100
-dnl AC_UVAR_SET(man1dir, $prefix/man/man1)
101
-dnl AC_UVAR_SET(man2dir, $prefix/man/man2)
102
-dnl AC_UVAR_SET(man3dir, $prefix/man/man3)
103
-dnl AC_UVAR_SET(man4dir, $prefix/man/man4)
104
-dnl AC_UVAR_SET(man5dir, $prefix/man/man5)
105
-dnl AC_UVAR_SET(man6dir, $prefix/man/man6)
106
-dnl AC_UVAR_SET(man7dir, $prefix/man/man7)
107
-dnl AC_UVAR_SET(man8dir, $prefix/man/man8)
108
+AC_UVAR_SET(bindir, bin)
109
+AC_UVAR_SET(libdir, lib)
110
+AC_UVAR_SET(datadir, var)
111
+AC_UVAR_SET(statdir, lib)
112
+AC_UVAR_SET(includedir, include)
113
+AC_UVAR_SET(mandir, man/man1)
114
+dnl AC_UVAR_SET(man1dir, $mandir/man1)
115
+dnl AC_UVAR_SET(man2dir, $mandir/man2)
116
+dnl AC_UVAR_SET(man3dir, $mandir/man3)
117
+dnl AC_UVAR_SET(man4dir, $mandir/man4)
118
+dnl AC_UVAR_SET(man5dir, $mandir/man5)
119
+dnl AC_UVAR_SET(man6dir, $mandir/man6)
120
+dnl AC_UVAR_SET(man7dir, $mandir/man7)
121
+dnl AC_UVAR_SET(man8dir, $mandir/man8)
122
AC_UVAR_SET(manext, .1)
123
dnl AC_UVAR_SET(man1ext, .1)
124
dnl AC_UVAR_SET(man2ext, .2)
129
- * ) libdir="${exec_prefix}/lib/eperl" ;;
130
+ * ) libdir="lib/eperl" ;;
134
--- eperl-2.2.5.orig/debian/rules
135
+++ eperl-2.2.5/debian/rules
138
+# Sample debian.rules file - for GNU Hello (1.3).
139
+# Copyright 1994,1995 by Ian Jackson.
140
+# I hereby give you perpetual unlimited permission to copy,
141
+# modify and relicense this file, provided that you do not remove
142
+# my name from the file itself. (I assert my moral right of
143
+# paternity under the Copyright, Designs and Patents Act 1988.)
144
+# This file may have to be extensively modified
146
+# There used to be `source' and `diff' targets in this file, and many
147
+# packages also had `changes' and `dist' targets. These functions
148
+# have been taken over by dpkg-source, dpkg-genchanges and
149
+# dpkg-buildpackage in a package-independent way, and so these targets
153
+r=$(shell pwd)/debian/tmp
157
+ ./configure --prefix=/usr --exec-prefix=/usr
164
+ -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
165
+ -rm -rf *~ $(r) debian/*~ debian/files*
167
+binary-indep: checkroot build
169
+# There are no architecture-independent files to be uploaded
170
+# generated by this package. If there were any they would be
173
+binary-arch: checkroot build
176
+ install -d $(r)/DEBIAN
177
+ install -d $(r)/usr/doc/$(package)/examples
178
+ install -d $(r)/usr/doc/examples
179
+ ln -sf ../$(package)/examples $(r)/usr/doc/examples/$(package)
180
+ $(MAKE) prefix=$(r)/usr exec_prefix=/usr install
182
+ cp debian/copyright $(r)/usr/doc/$(package)/.
183
+ cp debian/changelog $(r)/usr/doc/$(package)/changelog.Debian
184
+ cp ChangeLog $(r)/usr/doc/$(package)/changelog
185
+ gzip -9v $(r)/usr/doc/$(package)/changelog{,.Debian}
187
+ cp COPYING $(r)/usr/doc/$(package)/copyright
191
+ && gzip -v9 <$$p >$(r)/usr/doc/$(package)/examples/$$p.gz;\
193
+ p="ANNOUNCE ANNOUNCE.ADDR ARTISTIC COPYING INSTALL INSTALL.APACHE \
194
+ INSTALL.NSAPI KNOWN.BUGS NEWS PORTING README VERSIONS";\
195
+ for f in $$p; do gzip -v <$$f >$(r)/usr/doc/$(package)/$$f.gz; done
196
+ -rm -rf $(r)/usr/man/cat*
197
+ -rm -rf $(r)/usr/lib/$(package)
198
+ p=`find $(r)/usr/man -type f -name '*.?'`;\
199
+ test "$$p" && echo "$$p" | xargs gzip -v9
200
+ p=`find $(r) -type f|xargs file|grep ELF.*executable|cut -f1 -d:`;\
201
+ test "$$p" && dpkg-shlibdeps $$p
202
+ dpkg-gencontrol -P$(r)
203
+ chown -R root.root $(r)
205
+ dpkg --build $(r) ..
208
+ test -x debian/rules
212
+# Below here is fairly generic really
214
+binary: binary-indep binary-arch
217
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
221
+ test root = "`whoami`"
223
+.PHONY: binary binary-arch binary-indep clean checkroot
224
--- eperl-2.2.5.orig/debian/changelog
225
+++ eperl-2.2.5/debian/changelog
227
+eperl (2.2.5-1) unstable; urgency=low
231
+ -- Heiko Schlittermann <heiko@lotte.sax.de> Sat, 6 Sep 1997 11:14:58 +0200
232
--- eperl-2.2.5.orig/debian/control
233
+++ eperl-2.2.5/debian/control
238
+Maintainer: Heiko Schlittermann <heiko@lotte.sax.de>
239
+Standards-Version: 2.1.1.0
243
+Depends: ${shlibs:Depends}, perl
244
+Description: ePerl interprets an ASCII file bristled with Perl 5 program statements
245
+ by evaluating the Perl 5 code while passing through the plain ASCII
246
+ data. It can operate in various ways: As a stand-alone Unix filter
247
+ or integrated Perl 5 module for general file generation tasks and
248
+ as a powerful Webserver scripting language for dynamic HTML page
250
--- eperl-2.2.5.orig/debian/copyright
251
+++ eperl-2.2.5/debian/copyright
253
+This is Debian/GNU Linux's prepackaged version of Ralf Engelschalls
256
+This package was put together by me, Heiko Schlittermann
257
+<heiko@lotte.sax.de>, from the sources, which I obtained from
258
+ftp://ftp.engelschall.com/pub/sw/eperl-*
259
+The changes were very minimal - merely adding support
260
+for the Debian package maintenance scheme, by
261
+adding various debian/* files.
263
+Ralph Engelschall released wml under the terms and conditions
264
+of the GNU Public License. See /usr/doc/eperl/COPRIGHT for more info.
265
--- eperl-2.2.5.orig/debian/substvars
266
+++ eperl-2.2.5/debian/substvars
268
+shlibs:Depends=ldso (>= 1.8.0-0), libc5 (>= 5.4.0-0), libdb1, libgdbm1