1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-28 19:29:53 +00:00

Added debian stuff from Michael Klein <michael.klein@puffin.lb.shuttle.de>

git-svn-id: svn://svn.cc65.org/cc65/trunk@1397 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-09-18 20:41:33 +00:00
parent b2e06dbb9d
commit 3c64a0f75c
46 changed files with 450 additions and 0 deletions

1
packages/debian/ar65.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

1
packages/debian/ca65.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

View File

@ -0,0 +1 @@
.so man1/cc65.1

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/apple2.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/apple2.lib
usr/lib/cc65/lib/apple2.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/atari.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/atari.lib
usr/lib/cc65/lib/atari.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/c128.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/c128.lib
usr/lib/cc65/lib/c128.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/c64.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/c64.lib
usr/lib/cc65/lib/c64.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/cbm510.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/cbm510.lib
usr/lib/cc65/lib/cbm510.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/cbm610.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/cbm610.lib
usr/lib/cc65/lib/cbm610.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/geos.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/geos.lib
usr/lib/cc65/lib/geos.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/pet.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/pet.lib
usr/lib/cc65/lib/pet.o

View File

@ -0,0 +1,2 @@
usr/lib/cc65/include
usr/lib/cc65/lib

View File

@ -0,0 +1 @@
src/ld65/cfg/plus4.cfg

View File

@ -0,0 +1,2 @@
usr/lib/cc65/lib/plus4.lib
usr/lib/cc65/lib/plus4.o

54
packages/debian/cc65.1 Normal file
View File

@ -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).

View File

@ -0,0 +1,4 @@
usr/bin
usr/lib/cc65/lib
usr/lib/cc65/include/geos
usr/share/info

View File

@ -0,0 +1,7 @@
announce.txt
doc/BUGS
doc/CREDITS
doc/*.html
doc/*.txt
doc/*.dvi
doc/readme.1st

View File

@ -0,0 +1 @@
samples/*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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:

1
packages/debian/cl65.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

84
packages/debian/control Normal file
View File

@ -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.

88
packages/debian/copyright Normal file
View File

@ -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:-)

1
packages/debian/da65.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

1
packages/debian/grc.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

1
packages/debian/ld65.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

1
packages/debian/od65.1 Normal file
View File

@ -0,0 +1 @@
.so man1/cc65.1

75
packages/debian/rules Normal file
View File

@ -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