]> git.sur5r.net Git - cc65/commitdiff
Added debian stuff from Michael Klein <michael.klein@puffin.lb.shuttle.de>
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 18 Sep 2002 20:41:33 +0000 (20:41 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 18 Sep 2002 20:41:33 +0000 (20:41 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1397 b7a2c559-68d2-44c3-8de9-860c34a00d81

46 files changed:
packages/debian/ar65.1 [new file with mode: 0644]
packages/debian/ca65.1 [new file with mode: 0644]
packages/debian/ca65html.1 [new file with mode: 0644]
packages/debian/cc65-apple2.dirs [new file with mode: 0644]
packages/debian/cc65-apple2.docs [new file with mode: 0644]
packages/debian/cc65-apple2.files [new file with mode: 0644]
packages/debian/cc65-atari.dirs [new file with mode: 0644]
packages/debian/cc65-atari.docs [new file with mode: 0644]
packages/debian/cc65-atari.files [new file with mode: 0644]
packages/debian/cc65-c128.dirs [new file with mode: 0644]
packages/debian/cc65-c128.docs [new file with mode: 0644]
packages/debian/cc65-c128.files [new file with mode: 0644]
packages/debian/cc65-c64.dirs [new file with mode: 0644]
packages/debian/cc65-c64.docs [new file with mode: 0644]
packages/debian/cc65-c64.files [new file with mode: 0644]
packages/debian/cc65-cbm510.dirs [new file with mode: 0644]
packages/debian/cc65-cbm510.docs [new file with mode: 0644]
packages/debian/cc65-cbm510.files [new file with mode: 0644]
packages/debian/cc65-cbm610.dirs [new file with mode: 0644]
packages/debian/cc65-cbm610.docs [new file with mode: 0644]
packages/debian/cc65-cbm610.files [new file with mode: 0644]
packages/debian/cc65-geos.dirs [new file with mode: 0644]
packages/debian/cc65-geos.docs [new file with mode: 0644]
packages/debian/cc65-geos.files [new file with mode: 0644]
packages/debian/cc65-pet.dirs [new file with mode: 0644]
packages/debian/cc65-pet.docs [new file with mode: 0644]
packages/debian/cc65-pet.files [new file with mode: 0644]
packages/debian/cc65-plus4.dirs [new file with mode: 0644]
packages/debian/cc65-plus4.docs [new file with mode: 0644]
packages/debian/cc65-plus4.files [new file with mode: 0644]
packages/debian/cc65.1 [new file with mode: 0644]
packages/debian/cc65.dirs [new file with mode: 0644]
packages/debian/cc65.docs [new file with mode: 0644]
packages/debian/cc65.examples [new file with mode: 0644]
packages/debian/cc65.manpages [new file with mode: 0644]
packages/debian/cc65.postinst [new file with mode: 0644]
packages/debian/cc65.prerm [new file with mode: 0644]
packages/debian/changelog [new file with mode: 0644]
packages/debian/cl65.1 [new file with mode: 0644]
packages/debian/control [new file with mode: 0644]
packages/debian/copyright [new file with mode: 0644]
packages/debian/da65.1 [new file with mode: 0644]
packages/debian/grc.1 [new file with mode: 0644]
packages/debian/ld65.1 [new file with mode: 0644]
packages/debian/od65.1 [new file with mode: 0644]
packages/debian/rules [new file with mode: 0644]

diff --git a/packages/debian/ar65.1 b/packages/debian/ar65.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/ca65.1 b/packages/debian/ca65.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/ca65html.1 b/packages/debian/ca65html.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/cc65-apple2.dirs b/packages/debian/cc65-apple2.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-apple2.docs b/packages/debian/cc65-apple2.docs
new file mode 100644 (file)
index 0000000..818d8d6
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/apple2.cfg
diff --git a/packages/debian/cc65-apple2.files b/packages/debian/cc65-apple2.files
new file mode 100644 (file)
index 0000000..a0dbfbe
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/apple2.lib
+usr/lib/cc65/lib/apple2.o
diff --git a/packages/debian/cc65-atari.dirs b/packages/debian/cc65-atari.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-atari.docs b/packages/debian/cc65-atari.docs
new file mode 100644 (file)
index 0000000..c22a604
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/atari.cfg
diff --git a/packages/debian/cc65-atari.files b/packages/debian/cc65-atari.files
new file mode 100644 (file)
index 0000000..92c05a6
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/atari.lib
+usr/lib/cc65/lib/atari.o
diff --git a/packages/debian/cc65-c128.dirs b/packages/debian/cc65-c128.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-c128.docs b/packages/debian/cc65-c128.docs
new file mode 100644 (file)
index 0000000..788a18c
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/c128.cfg
diff --git a/packages/debian/cc65-c128.files b/packages/debian/cc65-c128.files
new file mode 100644 (file)
index 0000000..4792dc8
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/c128.lib
+usr/lib/cc65/lib/c128.o
diff --git a/packages/debian/cc65-c64.dirs b/packages/debian/cc65-c64.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-c64.docs b/packages/debian/cc65-c64.docs
new file mode 100644 (file)
index 0000000..008359a
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/c64.cfg
diff --git a/packages/debian/cc65-c64.files b/packages/debian/cc65-c64.files
new file mode 100644 (file)
index 0000000..8c59ea9
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/c64.lib
+usr/lib/cc65/lib/c64.o
diff --git a/packages/debian/cc65-cbm510.dirs b/packages/debian/cc65-cbm510.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-cbm510.docs b/packages/debian/cc65-cbm510.docs
new file mode 100644 (file)
index 0000000..64c11e8
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/cbm510.cfg
diff --git a/packages/debian/cc65-cbm510.files b/packages/debian/cc65-cbm510.files
new file mode 100644 (file)
index 0000000..2d041f3
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/cbm510.lib
+usr/lib/cc65/lib/cbm510.o
diff --git a/packages/debian/cc65-cbm610.dirs b/packages/debian/cc65-cbm610.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-cbm610.docs b/packages/debian/cc65-cbm610.docs
new file mode 100644 (file)
index 0000000..4cd3f0f
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/cbm610.cfg
diff --git a/packages/debian/cc65-cbm610.files b/packages/debian/cc65-cbm610.files
new file mode 100644 (file)
index 0000000..18b5bb4
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/cbm610.lib
+usr/lib/cc65/lib/cbm610.o
diff --git a/packages/debian/cc65-geos.dirs b/packages/debian/cc65-geos.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-geos.docs b/packages/debian/cc65-geos.docs
new file mode 100644 (file)
index 0000000..4d9f2a9
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/geos.cfg
diff --git a/packages/debian/cc65-geos.files b/packages/debian/cc65-geos.files
new file mode 100644 (file)
index 0000000..2cba2b5
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/geos.lib
+usr/lib/cc65/lib/geos.o
diff --git a/packages/debian/cc65-pet.dirs b/packages/debian/cc65-pet.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-pet.docs b/packages/debian/cc65-pet.docs
new file mode 100644 (file)
index 0000000..a687d83
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/pet.cfg
diff --git a/packages/debian/cc65-pet.files b/packages/debian/cc65-pet.files
new file mode 100644 (file)
index 0000000..3ee0cfa
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/pet.lib
+usr/lib/cc65/lib/pet.o
diff --git a/packages/debian/cc65-plus4.dirs b/packages/debian/cc65-plus4.dirs
new file mode 100644 (file)
index 0000000..bc5728a
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/include
+usr/lib/cc65/lib
diff --git a/packages/debian/cc65-plus4.docs b/packages/debian/cc65-plus4.docs
new file mode 100644 (file)
index 0000000..235dc1c
--- /dev/null
@@ -0,0 +1 @@
+src/ld65/cfg/plus4.cfg
diff --git a/packages/debian/cc65-plus4.files b/packages/debian/cc65-plus4.files
new file mode 100644 (file)
index 0000000..30354e6
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/cc65/lib/plus4.lib
+usr/lib/cc65/lib/plus4.o
diff --git a/packages/debian/cc65.1 b/packages/debian/cc65.1
new file mode 100644 (file)
index 0000000..3d9967c
--- /dev/null
@@ -0,0 +1,54 @@
+.TH CC65 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH CC65
+CC65 \- 6502 C crosscompiler/crossassembler
+.SH SYNOPSIS
+.B ar65
+.I "<operation> lib file|module ..."
+.br
+.B ca65
+.I "[options] file"
+.br
+.B ca65html
+.I "[options] file ..."
+.br
+.B cc65
+.I "[options] file ..."
+.br
+.B cl65
+.I "[options] file ..."
+.br
+.B da65
+.I "[options] file ..."
+.br
+.B grc
+.I "[options] file"
+.br
+.B ld65
+.I "[options] module ..."
+.br
+.B od65
+.I "[options] file [options] [file]"
+.SH "DESCRIPTION"
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.B cc65
+is a program that...
+.SH OPTIONS
+The programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options are included below.
+For a complete description, see the Info files and/or the documentation
+in /usr/share/doc/cc65.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH AUTHOR
+This manual page was written by Michael Klein <michael.klein@puffin.lb.shuttle.de>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/packages/debian/cc65.dirs b/packages/debian/cc65.dirs
new file mode 100644 (file)
index 0000000..72ab425
--- /dev/null
@@ -0,0 +1,4 @@
+usr/bin
+usr/lib/cc65/lib
+usr/lib/cc65/include/geos
+usr/share/info
diff --git a/packages/debian/cc65.docs b/packages/debian/cc65.docs
new file mode 100644 (file)
index 0000000..6d68323
--- /dev/null
@@ -0,0 +1,7 @@
+announce.txt
+doc/BUGS
+doc/CREDITS
+doc/*.html
+doc/*.txt
+doc/*.dvi
+doc/readme.1st
diff --git a/packages/debian/cc65.examples b/packages/debian/cc65.examples
new file mode 100644 (file)
index 0000000..781fb73
--- /dev/null
@@ -0,0 +1 @@
+samples/*
diff --git a/packages/debian/cc65.manpages b/packages/debian/cc65.manpages
new file mode 100644 (file)
index 0000000..43e9638
--- /dev/null
@@ -0,0 +1,9 @@
+debian/ar65.1
+debian/ca65.1
+debian/ca65html.1
+debian/cc65.1
+debian/cl65.1
+debian/da65.1
+debian/grc.1
+debian/ld65.1
+debian/od65.1
diff --git a/packages/debian/cc65.postinst b/packages/debian/cc65.postinst
new file mode 100644 (file)
index 0000000..d0b5ca2
--- /dev/null
@@ -0,0 +1,45 @@
+#! /bin/sh
+#
+# This is the postinst script for the Debian GNU/Linux cc65 package
+#
+# Written by Michael Klein <michael.klein@puffin.lb.shuttle.de>   
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ]; then
+       section="Cross-platform development"
+       
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 archiver" \
+               /usr/share/info/ar65.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 assembler" \
+               /usr/share/info/ca65.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 C compiler" \
+               /usr/share/info/cc65.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 compile and link utility" \
+               /usr/share/info/cl65.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 linker" \
+               /usr/share/info/ld65.info
+       install-info --quiet --section "$section" "$section" \
+               --description="Debugging using the cc65 tools and VICE" \
+               /usr/share/info/debugging.info
+       install-info --quiet --section "$section" "$section" \
+               --description="Direct disk access in cc65" \
+               /usr/share/info/dio.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 GEOSLib" \
+               /usr/share/info/geos.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 coding hints" \
+               /usr/share/info/coding.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 introduction" \
+               /usr/share/info/intro.info
+       install-info --quiet --section "$section" "$section" \
+               --description="cc65 library overview" \
+               /usr/share/info/library.info
+fi
diff --git a/packages/debian/cc65.prerm b/packages/debian/cc65.prerm
new file mode 100644 (file)
index 0000000..7c5dce3
--- /dev/null
@@ -0,0 +1,21 @@
+#! /bin/sh
+#
+# This is the prerm script for the Debian GNU/Linux cc65 package
+#
+# Written by Michael Klein <michael.klein@puffin.lb.shuttle.de>   
+
+#DEBHELPER#
+
+if [ "$1" = "remove" -o "$1" = "purge" ]; then
+       install-info --quiet --remove /usr/share/info/ar65.info
+       install-info --quiet --remove /usr/share/info/ca65.info
+       install-info --quiet --remove /usr/share/info/cc65.info
+       install-info --quiet --remove /usr/share/info/cl65.info
+       install-info --quiet --remove /usr/share/info/ld65.info
+       install-info --quiet --remove /usr/share/info/debugging.info
+       install-info --quiet --remove /usr/share/info/dio.info
+       install-info --quiet --remove /usr/share/info/geos.info
+       install-info --quiet --remove /usr/share/info/coding.info
+       install-info --quiet --remove /usr/share/info/intro.info
+       install-info --quiet --remove /usr/share/info/library.info
+fi
diff --git a/packages/debian/changelog b/packages/debian/changelog
new file mode 100644 (file)
index 0000000..34437d2
--- /dev/null
@@ -0,0 +1,9 @@
+cc65 (2.8.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Michael Klein <michael.klein@puffin.lb.shuttle.de>  Sun,  1 Sep 2002 15:28:51 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/packages/debian/cl65.1 b/packages/debian/cl65.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/control b/packages/debian/control
new file mode 100644 (file)
index 0000000..d58ddfc
--- /dev/null
@@ -0,0 +1,84 @@
+Source: cc65
+Section: non-free/devel
+Priority: optional
+Maintainer: Michael Klein <michael.klein@puffin.lb.shuttle.de>
+Build-Depends: debhelper, sgml-tools, perl
+Standards-Version: 3.2.1
+
+Package: cc65
+Recommends: cc65-apple2, cc65-atari, cc65-c128, cc65-c64, cc65-cbm510, cc65-cbm610, cc65-geos, cc65-pet, cc65-plus4
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Crosscompiler/Crossassembler for 6502 systems
+ A C crosscompiler for 6502 systems, including a macroassembler that
+ supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
+ other tools. To create programs for one of the supported target
+ machines, you have to install at least one of the library packages.
+
+Package: cc65-apple2
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Apple ][ specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Apple ][ using the cc65 crosscompiler.
+
+Package: cc65-atari
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Atari specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the 8 bit Atari machines using the cc65 crosscompiler.
+
+Package: cc65-c128
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: C128 specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Commodore C128 using the cc65 crosscompiler.
+
+Package: cc65-c64
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: C64 specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Commodore C64 using the cc65 crosscompiler.
+
+Package: cc65-cbm510
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: CBM 510 specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Commodore CBM 510 (aka P500) using the cc65
+ crosscompiler.
+
+Package: cc65-cbm610
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: CBM 610 specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Commodore PET-II (CBM600/700) family of computers using
+ the cc65 crosscompiler.
+
+Package: cc65-geos
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: GEOS specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ GEOS programs for the C64/C128 using the cc65 crosscompiler.
+
+Package: cc65-pet
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: PET specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Commodore PET family of computers using the cc65
+ crosscompiler
+
+Package: cc65-plus4
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Plus/4 specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Commodore Plus/4 and C16/116 using the cc65
+ crosscompiler.
+
diff --git a/packages/debian/copyright b/packages/debian/copyright
new file mode 100644 (file)
index 0000000..2254833
--- /dev/null
@@ -0,0 +1,88 @@
+This package was debianized by Michael Klein michael.klein@puffin.lb.shuttle.de on
+Mon, 12 Aug 2002 21:11:59 +0200.
+
+It was downloaded from http://www.cc65.org
+
+Copyright (from doc/newvers.txt):
+
+1. Copyright
+-----------
+
+This is the original compiler copyright:
+
+--------------------------------------------------------------------------
+  -*- Mode: Text -*-
+
+     This is the copyright notice for RA65, LINK65, LIBR65, and other
+  Atari 8-bit programs.  Said programs are Copyright 1989, by John R.
+  Dunning.  All rights reserved, with the following exceptions:
+
+      Anyone may copy or redistribute these programs, provided that:
+
+  1:  You don't charge anything for the copy.  It is permissable to
+      charge a nominal fee for media, etc.
+
+  2:  All source code and documentation for the programs is made
+      available as part of the distribution.
+
+  3:  This copyright notice is preserved verbatim, and included in
+      the distribution.
+
+      You are allowed to modify these programs, and redistribute the
+  modified versions, provided that the modifications are clearly noted.
+
+      There is NO WARRANTY with this software, it comes as is, and is
+  distributed in the hope that it may be useful.
+
+      This copyright notice applies to any program which contains
+  this text, or the refers to this file.
+
+      This copyright notice is based on the one published by the Free
+  Software Foundation, sometimes known as the GNU project.  The idea
+  is the same as theirs, ie the software is free, and is intended to
+  stay that way.  Everybody has the right to copy, modify, and re-
+  distribute this software.  Nobody has the right to prevent anyone
+  else from copying, modifying or redistributing it.
+
+--------------------------------------------------------------------------
+
+In acknowledgment of this copyright, I will place my own changes to the
+compiler under the same copyright.
+
+However, since the library and all binutils (assembler, archiver, linker)
+are a complete rewrite, they are covered by another copyright:
+
+
+--------------------------------------------------------------------------
+
+                      CC65 C Library and Binutils
+
+                       (C) Copyright 1998 Ullrich von Bassewitz
+
+                           COPYING CONDITIONS
+
+
+  This software is provided 'as-is', without any expressed or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not
+     be misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source
+     distribution
+
+
+--------------------------------------------------------------------------
+
+I will try to contact John, maybe he is also willing to place his sources
+under a less restrictive copyright, after all these years:-)
+
+
diff --git a/packages/debian/da65.1 b/packages/debian/da65.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/grc.1 b/packages/debian/grc.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/ld65.1 b/packages/debian/ld65.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/od65.1 b/packages/debian/od65.1
new file mode 100644 (file)
index 0000000..0fa03eb
--- /dev/null
@@ -0,0 +1 @@
+.so man1/cc65.1
diff --git a/packages/debian/rules b/packages/debian/rules
new file mode 100644 (file)
index 0000000..6578740
--- /dev/null
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+export DH_COMPAT=3
+
+build: build-stamp
+
+build-stamp:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE) -C src -f make/gcc.mak
+       $(MAKE) -C libsrc
+       $(MAKE) -C doc
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       dh_clean
+       -rm -f build-stamp
+       -$(MAKE) -C src -f make/gcc.mak zap
+       -$(MAKE) -C libsrc zap
+       -$(MAKE) -C doc zap
+       -rm -f `find . -name "*~"`
+
+binary-indep: build
+       dh_testdir -i
+       dh_testroot -i
+       dh_installdirs -i
+       for arch in apple2 atari c128 c64 cbm510 cbm610 geos pet plus4; do \
+         install -m0644 `pwd`/libsrc/$$arch.lib debian/cc65-$$arch/usr/lib/cc65/lib && \
+         install -m0644 `pwd`/libsrc/$$arch.o debian/cc65-$$arch/usr/lib/cc65/lib; \
+       done
+       dh_installdocs -i
+       dh_installchangelogs -i
+       dh_compress -i
+       dh_fixperms -i
+       dh_installdeb -i
+       dh_shlibdeps -i
+       dh_gencontrol -i
+       dh_md5sums -i
+       dh_builddeb -i
+
+binary-arch: checkroot build
+       dh_testdir -a
+       dh_testroot -a
+       dh_installdirs -a
+       dh_installmenu -a
+       for bin in ar65 ca65 cc65 cl65 da65 grc ld65 od65 ca65html; do \
+         install -m0755 `pwd`/src/$$bin/$$bin debian/cc65/usr/bin; \
+       done
+       for info in ar65 ca65 cc65 cl65 ld65 debugging dio geos coding intro library; do \
+         install -m0755 `pwd`/doc/$$info.info* debian/cc65/usr/share/info; \
+       done
+       install -m0644 `pwd`/include/*.h           debian/cc65/usr/lib/cc65/include
+       install -m0644 `pwd`/include/geos/*.h      debian/cc65/usr/lib/cc65/include/geos
+       dh_installman -a
+       dh_installdocs -a
+       dh_installexamples -a
+       dh_installchangelogs -a
+       dh_compress -a
+       dh_fixperms -a
+       dh_strip
+       dh_installdeb -a
+       dh_shlibdeps -a
+       dh_gencontrol -a
+       dh_md5sums -a
+       dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean checkroot