aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/control2
-rw-r--r--debian/copyright6
-rw-r--r--debian/postinst2
-rw-r--r--debian/postrm2
-rwxr-xr-xdebian/rules98
6 files changed, 75 insertions, 43 deletions
diff --git a/debian/changelog b/debian/changelog
index e13dcf2..ed01d96 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+scm (5b3-1) unstable; urgency=low
+
+ * New maintainer
+ * New version
+ * libc6
+
+ -- Rob Browning <rlb@cs.utexas.edu> Fri, 12 Dec 1997 17:29:42 -0600
+
scm (4e6-2) unstable; urgency=low
* Recompiled to use regex0.
diff --git a/debian/control b/debian/control
index 6b831b5..ef0a30b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: scm
Section: devel
Priority: optional
-Maintainer: Karl Sackett <krs@debian.org>
+Maintainer: Rob Browning <rlb@cs.utexas.edu>
Standards-Version: 2.1.1.2
Package: scm
diff --git a/debian/copyright b/debian/copyright
index 39c1d54..6189358 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,8 +3,7 @@ This is the Debian GNU/Linux prepackaged version of scm.
This package was put together by Karl Sackett <krs@debian.org>,
from sources obtained from:
- ftp://swiss-ftp.ai.mit.edu/archive/scm/scm4e6.tar.gz
- ftp://swiss-ftp.ai.mit.edu/archive/scm/scmconfig4e3.tar.gz
+ ftp://swiss-ftp.ai.mit.edu/archive/scm/scm5b3.tar.gz
For more information see:
@@ -12,4 +11,5 @@ For more information see:
License:
-scm is distributed under the GNU General Public License.
+scm is distributed under the GNU General Public License. See
+/usr/doc/copyright/GPL.gz for details.
diff --git a/debian/postinst b/debian/postinst
index 5f49c24..f544d8c 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
-#
+
install-info --quiet --section "Development" "Development" \
--description="A Scheme language interpreter" \
/usr/info/scm.info.gz
diff --git a/debian/postrm b/debian/postrm
index 18f9b39..03e39ad 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,4 +1,4 @@
#!/bin/sh
set -e
-#
+
install-info --quiet --remove slib
diff --git a/debian/rules b/debian/rules
index 77e2a92..c3b6b26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,5 @@
#! /usr/bin/make -f
-#
+# -*-Makefile-*-
CC =gcc
CFLAGS =-O2 -g -Wall
@@ -14,86 +14,110 @@ INSTALL_PROGRAM =$(INSTALL) -m 755 -o root -g root
INSTALL_DATA =$(INSTALL) -m 644 -o root -g root
INSTALL_MAN =$(INSTALL) -m 444 -o root -g root
-config:
- $(checkdir)
- ./configure
- touch stamp-config
+SCM_OPTIONS = -p linux --compiler-options=-O2 --compiler-options=-g \
+ -F cautious \
+ -F bignums \
+ -F arrays \
+ -F array-for-each \
+ -F inexact \
+ -F record \
+ -F compiled-closure \
+ -F generalized-c-arguments \
+ -F tick-interrupts \
+ -F i/o-extensions \
+# -F turtlegr \
+ -F curses \
+ -F edit-line \
+ -F regex \
+ -F socket \
+ -F posix \
+ -F unix \
+ -F dynamic-linking \
+ -F dump \
+ -F heap-can-shrink \
+ -F macro
+
+NON_LIB_FILES = 'bench.scm|build.scm|example.scm|r4rstest.scm|pi.scm'
+
+#test: stamp-configure
+# $(checkdir)
+# make checklit
build:
$(checkdir)
- test -f stamp-config || make -f debian/rules config
- make
+ ${MAKE} scmlit
+ test -e /usr/lib/slib || \
+ (echo "Must have slib installed for compile" && exit 1)
+ cp debian/require.scm.debian require.scm
+ SCHEME_LIBRARY_PATH=/usr/lib/slib/ ./build.scm ${SCM_OPTIONS} > debian/bld
+ chmod ug+x debian/bld
+ debian/bld
+ -rm -f debian/bld
makeinfo scm.texi -o scm.info
texi2html -monolithic scm.texi
- cp debian/require.scm.debian require.scm
- touch stamp-build
+ touch build
clean:
$(checkdir)
- test -f stamp-config || make -f debian/rules config
- -rm scm.info* scm.html require.scm scm
+ -rm scm.info* scm.html tmp1 tmp2 scmflags.h scmlit
+ -rm require.scm scm
make distclean
- -rm Makefile
- -rm -f stamp-config stamp-build
- -rm -rf debian/tmp* debian/files debian/substvars
+ -rm -f build debian/bld
+ -rm -rf *~ debian/*~ debian/tmp* debian/files debian/substvars
binary-indep: checkroot
$(checkdir)
-binary-arch: checkroot
- $(checkdir)
+binary-arch: checkroot build
+ $(checkdir)
-rm -rf debian/tmp*
- test -f stamp-build || make -f debian/rules build
-#
-#
+
# debian/tmp
$(INSTALL_DIR) debian/tmp
$(INSTALL_DIR) debian/tmp/DEBIAN
$(INSTALL_PROGRAM) debian/postinst debian/tmp/DEBIAN
$(INSTALL_PROGRAM) debian/postrm debian/tmp/DEBIAN
+
# binaries
$(INSTALL_DIR) debian/tmp/usr/bin
$(INSTALL_PROGRAM) -s scm debian/tmp/usr/bin
+
# library
$(INSTALL_DIR) debian/tmp/usr/lib/scm
- $(INSTALL_DATA) COPYING debian/tmp/usr/lib/scm
- $(INSTALL_DATA) Init.scm debian/tmp/usr/lib/scm
- $(INSTALL_DATA) Transcen.scm debian/tmp/usr/lib/scm
- $(INSTALL_DATA) Iedline.scm debian/tmp/usr/lib/scm
- $(INSTALL_DATA) Link.scm debian/tmp/usr/lib/scm
- $(INSTALL_DATA) require.scm debian/tmp/usr/lib/scm
+ $(INSTALL_DATA) `ls *.scm | egrep -v ${NON_LIB_FILES}` debian/tmp/usr/lib/scm
+ $(INSTALL_DATA) slibcat debian/tmp/usr/lib/scm
# man pages
$(INSTALL_DIR) debian/tmp/usr/man/man1
$(INSTALL_MAN) scm.1 debian/tmp/usr/man/man1
- -gzip -9fr debian/tmp/usr/man
+ gzip -9vr debian/tmp/usr/man
+
# documentation
$(INSTALL_DIR) debian/tmp/usr/doc/scm
- $(INSTALL_DATA) debian/copyright debian/tmp/usr/doc/scm
- $(INSTALL_DATA) debian/changelog \
- debian/tmp/usr/doc/scm/changelog.Debian
- gzip -9 debian/tmp/usr/doc/scm/changelog.Debian
-#
+ $(INSTALL_DATA) debian/changelog debian/tmp/usr/doc/scm/changelog.Debian
$(INSTALL_DATA) ChangeLog debian/tmp/usr/doc/scm
- gzip -9 debian/tmp/usr/doc/scm/ChangeLog
$(INSTALL_DATA) QUICKREF debian/tmp/usr/doc/scm
$(INSTALL_DATA) README debian/tmp/usr/doc/scm
- $(INSTALL_DATA) README.unix debian/tmp/usr/doc/scm
+ gzip -9v debian/tmp/usr/doc/scm/*
$(INSTALL_DATA) scm.html debian/tmp/usr/doc/scm
+ $(INSTALL_DATA) debian/copyright debian/tmp/usr/doc/scm
+
# examples
$(INSTALL_DIR) debian/tmp/usr/doc/scm/examples
+ $(INSTALL_DATA) r4rstest.scm debian/tmp/usr/doc/scm/examples
$(INSTALL_DATA) example.scm debian/tmp/usr/doc/scm/examples
$(INSTALL_DATA) pi.scm debian/tmp/usr/doc/scm/examples
$(INSTALL_DATA) pi.c debian/tmp/usr/doc/scm/examples
+ $(INSTALL_DATA) bench.scm debian/tmp/usr/doc/scm/examples
$(INSTALL_DATA) split.scm debian/tmp/usr/doc/scm/examples
- $(INSTALL_DATA) r4rstest.scm debian/tmp/usr/doc/scm/examples
+
# info pages
$(INSTALL_DIR) debian/tmp/usr/info
$(INSTALL_DATA) scm.info* debian/tmp/usr/info
gzip -9 debian/tmp/usr/info/*
-#
+
dpkg-shlibdeps scm
- dpkg-gencontrol -isp -pscm -Pdebian/tmp
+ dpkg-gencontrol
dpkg --build debian/tmp ..
define checkdir
@@ -106,4 +130,4 @@ checkroot:
$(checkdir)
test root = "`whoami`"
-.PHONY: config build clean binary binary-arch binary-indep
+.PHONY: clean binary binary-arch binary-indep