~ubuntu-branches/debian/sid/eperl/sid

« back to all changes in this revision

Viewing changes to contrib/pkg/dpkg/eperl.diff

  • Committer: Bazaar Package Importer
  • Author(s): Denis Barbier
  • Date: 2001-12-18 20:40:24 UTC
  • Revision ID: james.westby@ubuntu.com-20011218204024-kas01yyh4uj98q11
Tags: upstream-2.2.14
ImportĀ upstreamĀ versionĀ 2.2.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- eperl-2.2.5.orig/Makefile.in
 
2
+++ eperl-2.2.5/Makefile.in
 
3
@@ -43,10 +43,10 @@
 
4
 
 
5
 #   installation paths
 
6
 prefix          = @prefix@
 
7
-exec_prefix     = @exec_prefix@
 
8
-bindir          = @bindir@
 
9
-libdir          = @libdir@
 
10
-mandir          = @mandir@
 
11
+exec_prefix     = ${prefix}
 
12
+bindir          = ${prefix}/@bindir@
 
13
+libdir          = ${prefix}/@libdir@
 
14
+mandir          = ${prefix}/@mandir@
 
15
 
 
16
 
 
17
 # ------------------------------------------------
 
18
--- eperl-2.2.5.orig/configure
 
19
+++ eperl-2.2.5/configure
 
20
@@ -1745,45 +1745,39 @@
 
21
 EOF
 
22
 
 
23
 fi
 
24
-bindir="$exec_prefix/bin"
 
25
+bindir="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
 
29
 
 
30
 fi
 
31
 
 
32
-libdir="$exec_prefix/lib"
 
33
+libdir="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
 
37
 
 
38
 fi
 
39
 
 
40
-datadir="$prefix/var"
 
41
+datadir="var"
 
42
   if test .$ac_with_uvar = .yes; then
 
43
-    echo 'datadir="$prefix/var"' >>$ac_uvar_editfile
 
44
+    echo 'datadir="var"' >>$ac_uvar_editfile
 
45
 
 
46
 fi
 
47
 
 
48
-statdir="$prefix/lib"
 
49
+statdir="lib"
 
50
   if test .$ac_with_uvar = .yes; then
 
51
-    echo 'statdir="$prefix/lib"' >>$ac_uvar_editfile
 
52
+    echo 'statdir="lib"' >>$ac_uvar_editfile
 
53
 
 
54
 fi
 
55
 
 
56
-includedir="$prefix/include"
 
57
+includedir="include"
 
58
   if test .$ac_with_uvar = .yes; then
 
59
-    echo 'includedir="$prefix/include"' >>$ac_uvar_editfile
 
60
+    echo 'includedir="include"' >>$ac_uvar_editfile
 
61
 
 
62
 fi
 
63
 
 
64
-oldincludedir="/usr/include"
 
65
+mandir="man/man1"
 
66
   if test .$ac_with_uvar = .yes; then
 
67
-    echo 'oldincludedir="/usr/include"' >>$ac_uvar_editfile
 
68
-
 
69
-fi
 
70
-
 
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
 
75
 
 
76
 fi
 
77
 
 
78
@@ -1859,7 +1853,7 @@
 
79
 eval libdir=$libdir
 
80
 case $libdir in
 
81
     *eperl* ) ;;
 
82
-          * ) libdir="${exec_prefix}/lib/eperl" ;;
 
83
+          * ) libdir="lib/eperl" ;;
 
84
 esac
 
85
 
 
86
 
 
87
--- eperl-2.2.5.orig/configure.in
 
88
+++ eperl-2.2.5/configure.in
 
89
@@ -249,21 +249,20 @@
 
90
 #                 compliant to the GNU standards.
 
91
 #
 
92
 ])dnl
 
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)
 
125
@@ -293,7 +292,7 @@
 
126
 eval libdir=$libdir
 
127
 case $libdir in
 
128
     *eperl* ) ;;
 
129
-          * ) libdir="${exec_prefix}/lib/eperl" ;;
 
130
+          * ) libdir="lib/eperl" ;;
 
131
 esac
 
132
 
 
133
 
 
134
--- eperl-2.2.5.orig/debian/rules
 
135
+++ eperl-2.2.5/debian/rules
 
136
@@ -0,0 +1,87 @@
 
137
+#!/usr/bin/make -f
 
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
 
145
+
 
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
 
150
+# are obsolete.
 
151
+
 
152
+package=eperl
 
153
+r=$(shell pwd)/debian/tmp
 
154
+
 
155
+build:
 
156
+       $(checkdir)
 
157
+       ./configure --prefix=/usr --exec-prefix=/usr
 
158
+       $(MAKE)
 
159
+       touch build
 
160
+
 
161
+clean:
 
162
+       $(checkdir)
 
163
+       -rm -f build
 
164
+       -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
 
165
+       -rm -rf *~ $(r) debian/*~ debian/files*
 
166
+
 
167
+binary-indep:  checkroot build
 
168
+       $(checkdir)
 
169
+# There are no architecture-independent files to be uploaded
 
170
+# generated by this package.  If there were any they would be
 
171
+# made here.
 
172
+
 
173
+binary-arch:   checkroot build
 
174
+       $(checkdir)
 
175
+       -rm -rf $(r)
 
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
 
181
+       #
 
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}
 
186
+       #
 
187
+       cp COPYING $(r)/usr/doc/$(package)/copyright
 
188
+       ( cd  eg\
 
189
+       && for p in *; do\
 
190
+               test -f $$p \
 
191
+               && gzip -v9 <$$p >$(r)/usr/doc/$(package)/examples/$$p.gz;\
 
192
+       done; true )
 
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)
 
204
+       chmod -R g-ws $(r)
 
205
+       dpkg --build $(r) ..
 
206
+
 
207
+define checkdir
 
208
+       test -x debian/rules
 
209
+       test -f eperl.1
 
210
+endef
 
211
+
 
212
+# Below here is fairly generic really
 
213
+
 
214
+binary:                binary-indep binary-arch
 
215
+
 
216
+source diff:
 
217
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
218
+
 
219
+checkroot:
 
220
+       $(checkdir)
 
221
+       test root = "`whoami`"
 
222
+
 
223
+.PHONY: binary binary-arch binary-indep clean checkroot
 
224
--- eperl-2.2.5.orig/debian/changelog
 
225
+++ eperl-2.2.5/debian/changelog
 
226
@@ -0,0 +1,5 @@
 
227
+eperl (2.2.5-1) unstable; urgency=low
 
228
+
 
229
+  * initial release
 
230
+
 
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
 
234
@@ -0,0 +1,15 @@
 
235
+Source: eperl
 
236
+Section: dev
 
237
+Priority: optional
 
238
+Maintainer: Heiko Schlittermann <heiko@lotte.sax.de>
 
239
+Standards-Version: 2.1.1.0
 
240
+
 
241
+Package: eperl
 
242
+Architecture: any
 
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
 
249
+  programming.
 
250
--- eperl-2.2.5.orig/debian/copyright
 
251
+++ eperl-2.2.5/debian/copyright
 
252
@@ -0,0 +1,12 @@
 
253
+This is Debian/GNU Linux's prepackaged version of Ralf Engelschalls
 
254
+ePerl package
 
255
+
 
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.
 
262
+
 
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
 
267
@@ -0,0 +1 @@
 
268
+shlibs:Depends=ldso (>= 1.8.0-0), libc5 (>= 5.4.0-0), libdb1, libgdbm1