From: Matt Birkholz Date: Sun, 12 Jun 2016 07:01:16 +0000 (-0700) Subject: edwin/debian/: Support dpkg-buildpackage. X-Git-Tag: mit-scheme-pucked-9.2.12~298 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2ce9a0f16c16db8bbb6190931c874173ffaa9516;p=mit-scheme.git edwin/debian/: Support dpkg-buildpackage. --- diff --git a/src/edwin/Makefile.am b/src/edwin/Makefile.am index 22922c000..6a60b6b52 100644 --- a/src/edwin/Makefile.am +++ b/src/edwin/Makefile.am @@ -58,14 +58,16 @@ TAGS_DEPENDENCIES = $(sources) edwin.ldr EXTRA_DIST += $(sources) TUTORIAL EXTRA_DIST += sources.sh compile.sh decls.scm edwin.ldr -EXTRA_DIST += edwin.sf edwin.cbf edwin.pkg +EXTRA_DIST += edwin.sf edwin.cbf edwin.pkg debian install-data-hook: - echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \ - | $(MIT_SCHEME_EXE) --batch-mode + if [ -f "$(DESTDIR)$(scmlibdir)optiondb.scm" ]; then \ + echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \ + | $(MIT_SCHEME_EXE) --batch-mode; fi uninstall-hook: - echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \ - | $(MIT_SCHEME_EXE) --batch-mode + if [ -f "$(DESTDIR)$(scmlibdir)optiondb.scm" ]; then \ + echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \ + | $(MIT_SCHEME_EXE) --batch-mode; fi [ -d "$(DESTDIR)$(scmlib_subdir)" ] \ && rmdir "$(DESTDIR)$(scmlib_subdir)" diff --git a/src/edwin/debian/changelog b/src/edwin/debian/changelog new file mode 100644 index 000000000..6acc3f47c --- /dev/null +++ b/src/edwin/debian/changelog @@ -0,0 +1,5 @@ +mit-scheme-pucked-edwin (3.116.1-1) experimental; urgency=low + + * Initial Debianization. + + -- Friar Puck Sun, 12 Jun 2016 00:00:00 -0700 diff --git a/src/edwin/debian/compat b/src/edwin/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/src/edwin/debian/compat @@ -0,0 +1 @@ +9 diff --git a/src/edwin/debian/control b/src/edwin/debian/control new file mode 100644 index 000000000..1e66e9f9a --- /dev/null +++ b/src/edwin/debian/control @@ -0,0 +1,26 @@ +Source: mit-scheme-pucked-edwin +Section: lisp +Priority: optional +Maintainer: Friar Puck +Build-Depends: debhelper (>= 9), + mit-scheme-pucked (>= 9.2.1.1), + mit-scheme-pucked-blowfish (>= 0.1), + mit-scheme-pucked-md5 (>= 0.1), + mit-scheme-pucked-gdbm (>= 0.1) +Standards-Version: 3.9.4 +Homepage: http://birchwood-abbey.net/~matt/Scheme/ +Vcs-Git: git://birchwood-abbey.net/~matt/mit-scheme.git +Vcs-Browser: http://birchwood-abbey.net/gitweb/?p=mit-scheme.git;a=summary + +Package: mit-scheme-pucked-edwin +Architecture: any +Depends: mit-scheme-pucked (>= 9.2.1.1), + mit-scheme-pucked-blowfish (>= 0.1), + mit-scheme-pucked-md5 (>= 0.1), + mit-scheme-pucked-gdbm (>= 0.1) +Description: Edwin plugin for Friar Puck's MIT/GNU Scheme + This package provides the EDIT procedure for Friar Puck's MIT/GNU + Scheme. It includes ONLY the console terminal screen type. The + ancient X11 screen type is provided by the x11-screen plugin. To get + all of the functions of the original MIT/GNU Scheme, install the + mit-scheme-pucked-x11-screen package. diff --git a/src/edwin/debian/copyright b/src/edwin/debian/copyright new file mode 100644 index 000000000..e23bcc8fe --- /dev/null +++ b/src/edwin/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mit-scheme-pucked-edwin +Source: http://birchwood-abbey.net/~matt/Scheme/ + +Files: * +Copyright: 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, + 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, + 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 + Massachusetts Institute of Technology +License: GPL-2+ + This package is an Edwin plugin for Friar Puck's MIT/GNU Scheme. + . + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + . + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/src/edwin/debian/docs b/src/edwin/debian/docs new file mode 100644 index 000000000..50bd824bb --- /dev/null +++ b/src/edwin/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/src/edwin/debian/postinst b/src/edwin/debian/postinst new file mode 100755 index 000000000..3a1b31670 --- /dev/null +++ b/src/edwin/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +echo '(update-optiondb (system-library-directory-pathname))' \ +| mit-scheme-pucked --batch-mode + +exit 0 diff --git a/src/edwin/debian/postrm b/src/edwin/debian/postrm new file mode 100755 index 000000000..3a1b31670 --- /dev/null +++ b/src/edwin/debian/postrm @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +echo '(update-optiondb (system-library-directory-pathname))' \ +| mit-scheme-pucked --batch-mode + +exit 0 diff --git a/src/edwin/debian/rules b/src/edwin/debian/rules new file mode 100755 index 000000000..90576a632 --- /dev/null +++ b/src/edwin/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export MIT_SCHEME_EXE=mit-scheme-pucked + +%: + dh $@ diff --git a/src/edwin/debian/source/format b/src/edwin/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/src/edwin/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/src/edwin/debian/watch b/src/edwin/debian/watch new file mode 100644 index 000000000..902a81849 --- /dev/null +++ b/src/edwin/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://birchwood-abbey.net/~matt/Scheme/mit-scheme-pucked-edwin-(.*)\.tar\.gz debian uupdate