aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog24
-rw-r--r--debian/control12
-rw-r--r--debian/copyright15
-rw-r--r--debian/postinst6
-rw-r--r--debian/postrm4
-rw-r--r--debian/require.scm.debian2
-rwxr-xr-xdebian/rules133
7 files changed, 196 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ed01d96
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,24 @@
+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.
+
+ -- Karl Sackett <krs@debian.org> Wed, 18 Dec 1996 13:27:20 -0600
+
+scm (4e6-1) unstable; urgency=low
+
+ * First Debian release.
+ * Makefile.in: scm compiles with regex.
+
+ -- Karl Sackett <krs@debian.org> Fri, 13 Dec 1996 08:55:23 -0600
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ef0a30b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,12 @@
+Source: scm
+Section: devel
+Priority: optional
+Maintainer: Rob Browning <rlb@cs.utexas.edu>
+Standards-Version: 2.1.1.2
+
+Package: scm
+Architecture: any
+Depends: slib, ${shlibs:Depends}
+Description: A Scheme language interpreter.
+ Scm conforms to Revised^4 Report on the Algorithmic Language Scheme and
+ the IEEE P1178 specification.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6189358
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+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/scm5b3.tar.gz
+
+For more information see:
+
+ http://www-swiss.ai.mit.edu/~jaffer/SCM.html
+
+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
new file mode 100644
index 0000000..f544d8c
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +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
new file mode 100644
index 0000000..03e39ad
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+install-info --quiet --remove slib
diff --git a/debian/require.scm.debian b/debian/require.scm.debian
new file mode 100644
index 0000000..d876879
--- /dev/null
+++ b/debian/require.scm.debian
@@ -0,0 +1,2 @@
+(define (library-vicinity) "/usr/lib/slib/")
+(load (in-vicinity (library-vicinity) "require"))
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c3b6b26
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,133 @@
+#! /usr/bin/make -f
+# -*-Makefile-*-
+
+CC =gcc
+CFLAGS =-O2 -g -Wall
+LDFLAGS =
+
+SHELL =/bin/sh
+srcdir =.
+
+INSTALL =/usr/bin/install
+INSTALL_DIR =$(INSTALL) -d -m 755 -o root -g root
+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
+
+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)
+ ${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
+ touch build
+
+clean:
+ $(checkdir)
+ -rm scm.info* scm.html tmp1 tmp2 scmflags.h scmlit
+ -rm require.scm scm
+ make distclean
+ -rm -f build debian/bld
+ -rm -rf *~ debian/*~ debian/tmp* debian/files debian/substvars
+
+binary-indep: checkroot
+ $(checkdir)
+
+binary-arch: checkroot build
+ $(checkdir)
+ -rm -rf debian/tmp*
+
+# 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) `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 -9vr debian/tmp/usr/man
+
+# documentation
+ $(INSTALL_DIR) debian/tmp/usr/doc/scm
+ $(INSTALL_DATA) debian/changelog debian/tmp/usr/doc/scm/changelog.Debian
+ $(INSTALL_DATA) ChangeLog debian/tmp/usr/doc/scm
+ $(INSTALL_DATA) QUICKREF debian/tmp/usr/doc/scm
+ $(INSTALL_DATA) README 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
+
+# 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
+ dpkg --build debian/tmp ..
+
+define checkdir
+ test -f scm.h -a -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: clean binary binary-arch binary-indep