1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-17 00:29:31 +00:00

No packages here.

This commit is contained in:
Oliver Schmidt 2013-05-08 22:43:58 +02:00
parent e8e58d82e0
commit b69727f47f
61 changed files with 0 additions and 1385 deletions

View File

@ -1,54 +0,0 @@
; $VER: Install_cc65 1.0 (2.6.2010) © Stefan Haubenthal
(set #help-bin "Choose location of archiver, assembler, compiler, compiler driver, disassembler, resource compiler, linker, object dumper and character converter.")
(set #help-inc "Choose location of ANSI and target platform headers. The new directory is called 'include' resp. 'asminc'.")
(set #help-lib "Choose location of runtime objects and target platform libraries. The new directory is called 'lib'. If necessary CC65_LIB will be set.")
(if (run "which sh")
(message "The compiler driver (cl65) is missing a Unix shell (sh)."))
(copyfiles
(source "//src/")
(dest
(set #dir-bin (askdir (prompt "Copy binaries (should be part of execution path)") (help #help-bin) (default @default-dest)))
)
(choices "ar65/ar65" "ca65/ca65" "cc65/cc65" "cl65/cl65" "da65/da65" "grc/grc" "ld65/ld65" "od65/od65" "co65/co65" "chrcvt/chrcvt")
)
(complete 25)
(copyfiles
(source "//include/")
(dest
(set #dir-inc (tackon (set #dir-home (askdir (prompt "Copy C headers (directory will be created)") (help #help-inc) (default @default-dest))) "include"))
)
(all)
)
(complete 50)
(copyfiles
(source "//asminc/")
(dest
(set #dir-inc (tackon (askdir (prompt "Copy assembler headers (directory will be created)") (help #help-inc) (default #dir-home)) "asminc"))
)
(all)
)
(complete 75)
(copyfiles
(source "//libsrc/")
(dest
(set #dir-lib (tackon (askdir (prompt "Copy libraries (directory will be created)") (help #help-lib) (default #dir-home)) "lib"))
)
(pattern "#?.(lib|o)")
)
(complete 90)
(run "setenv CC65_HOME SAVE" #dir-home (confirm) (prompt "Set environment variable for compiler home?") (help "CC65_HOME will be saved in 'ENVARC:'."))
;(if (not (= (tackon #dir-home "include") #dir-inc))
; (run "setenv CC65_INC SAVE" #dir-inc)
(if (not (= (tackon #dir-home "lib") #dir-lib))
(run "setenv CC65_LIB SAVE" #dir-lib))
;(run "resident cc" (tackon #dir-bin "cl65"))
(complete 100)
(message "The cross-compiler is now ready, just type 'cl65 --help' in a shell.")

Binary file not shown.

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +0,0 @@
usr/lib/cc65/lib/apple2.lib
usr/lib/cc65/obj/apple2-*.o
usr/lib/cc65/emd/a2.*.emd
usr/lib/cc65/joy/a2.*.joy
usr/lib/cc65/mou/a2.*.mou
usr/lib/cc65/ser/a2.*.ser
usr/lib/cc65/tgi/a2.*.tgi
usr/lib/cc65/cfg/apple2-*.cfg

View File

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

View File

@ -1,8 +0,0 @@
usr/lib/cc65/lib/apple2enh.lib
usr/lib/cc65/obj/apple2enh-*.o
usr/lib/cc65/emd/a2e.*.emd
usr/lib/cc65/joy/a2e.*.joy
usr/lib/cc65/mou/a2e.*.mou
usr/lib/cc65/ser/a2e.*.ser
usr/lib/cc65/tgi/a2e.*.tgi
usr/lib/cc65/cfg/apple2enh-*.cfg

View File

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

View File

@ -1,4 +0,0 @@
usr/lib/cc65/lib/atari.lib
usr/lib/cc65/tgi/atari*.tgi
usr/lib/cc65/tgi/atr*.tgi
usr/lib/cc65/joy/atari*.joy

View File

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

View File

@ -1,3 +0,0 @@
usr/lib/cc65/lib/atmos.lib
usr/lib/cc65/tgi/atmos-*.tgi
usr/lib/cc65/joy/atmos-*.joy

View File

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

View File

@ -1,6 +0,0 @@
usr/lib/cc65/lib/c128.lib
usr/lib/cc65/emd/c128-*.emd
usr/lib/cc65/joy/c128-*.joy
usr/lib/cc65/mou/c128-*.mou
usr/lib/cc65/ser/c128-*.ser
usr/lib/cc65/tgi/c128-*.tgi

View File

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

View File

@ -1,3 +0,0 @@
usr/lib/cc65/lib/c16.lib
usr/lib/cc65/emd/c16-*.emd
usr/lib/cc65/joy/c16-*.joy

View File

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

View File

@ -1,8 +0,0 @@
usr/lib/cc65/cfg/c64-*.cfg
usr/lib/cc65/lib/c64.lib
usr/lib/cc65/emd/dtv-*.emd
usr/lib/cc65/emd/c64-*.emd
usr/lib/cc65/joy/c64-*.joy
usr/lib/cc65/mou/c64-*.mou
usr/lib/cc65/ser/c64-*.ser
usr/lib/cc65/tgi/c64-*.tgi

View File

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

View File

@ -1,4 +0,0 @@
usr/lib/cc65/lib/cbm510.lib
usr/lib/cc65/emd/cbm510-*.emd
usr/lib/cc65/joy/cbm510-*.joy
usr/lib/cc65/ser/cbm510-*.ser

View File

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

View File

@ -1,3 +0,0 @@
usr/lib/cc65/lib/cbm610.lib
usr/lib/cc65/emd/cbm610-*.emd
usr/lib/cc65/ser/cbm610-*.ser

View File

@ -1,3 +0,0 @@
doc/*.html
doc/*.txt
doc/*.dvi

View File

@ -1 +0,0 @@
doc/*.info

View File

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

View File

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

View File

@ -1,6 +0,0 @@
usr/bin/grc65
usr/lib/cc65/lib/geos-cbm.lib
usr/lib/cc65/include/geos/*.h
usr/lib/cc65/emd/geos-*.emd
usr/lib/cc65/joy/geos-*.joy
usr/lib/cc65/tgi/geos-*.tgi

View File

@ -1 +0,0 @@
debian/grc65.1

View File

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

View File

@ -1,5 +0,0 @@
usr/lib/cc65/lib/lynx.lib
usr/lib/cc65/joy/lynx-*.joy
usr/lib/cc65/ser/lynx-*.ser
usr/lib/cc65/tgi/lynx-*.tgi
usr/lib/cc65/cfg/lynx-*.cfg

View File

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

View File

@ -1,3 +0,0 @@
usr/lib/cc65/lib/nes.lib
usr/lib/cc65/tgi/nes-*.tgi
usr/lib/cc65/joy/nes-*.joy

View File

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

View File

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

View File

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

View File

@ -1,3 +0,0 @@
usr/lib/cc65/lib/plus4.lib
usr/lib/cc65/joy/plus4-*.joy
usr/lib/cc65/ser/plus4-*.ser

View File

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

View File

@ -1,2 +0,0 @@
usr/lib/cc65/lib/supervision.lib
usr/lib/cc65/cfg/supervision-*.cfg

View File

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

View File

@ -1,3 +0,0 @@
usr/lib/cc65/lib/vic20.lib
usr/lib/cc65/joy/vic20-*.joy
usr/lib/cc65/cfg/vic20-*.cfg

View File

@ -1,51 +0,0 @@
.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 grc65
.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.
.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

@ -1,13 +0,0 @@
usr/bin
usr/lib/cc65/lib
usr/lib/cc65/obj
usr/lib/cc65/ser
usr/lib/cc65/cfg
usr/lib/cc65/include
usr/lib/cc65/include/tgi
usr/lib/cc65/asminc
usr/lib/cc65/emd
usr/lib/cc65/joy
usr/lib/cc65/mou
usr/lib/cc65/tgi
usr/share/info

View File

@ -1,4 +0,0 @@
announce.txt
doc/BUGS
doc/CREDITS
doc/readme.1st

View File

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

View File

@ -1,16 +0,0 @@
usr/bin/ar65
usr/bin/ca65
usr/bin/ca65html
usr/bin/cc65
usr/bin/cl65
usr/bin/co65
usr/bin/da65
usr/bin/ld65
usr/bin/od65
usr/lib/cc65/include/*.h
usr/lib/cc65/include/em/*.h
usr/lib/cc65/include/joystick/*.h
usr/lib/cc65/include/mouse/*.h
usr/lib/cc65/include/sys/*.h
usr/lib/cc65/include/tgi/*.h
usr/lib/cc65/asminc/*.inc

View File

@ -1,8 +0,0 @@
debian/ar65.1
debian/ca65.1
debian/ca65html.1
debian/cc65.1
debian/cl65.1
debian/da65.1
debian/ld65.1
debian/od65.1

View File

@ -1,130 +0,0 @@
cc65 (2.13.9-svn5395-1) stable; urgency=low
* New upstream SVN version
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Sun, 08 Jan 2012 12:05:17 +0100
cc65 (2.13.9-svn5353-1) stable; urgency=low
* New upstream SVN version
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Sun, 01 Jan 2012 20:09:11 +0100
cc65 (2.13.2-3) stable; urgency=low
* Change cc65-doc so we do not need new binary packages.
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Tue, 03 Aug 2010 21:17:00 +0200
cc65 (2.13.2-2) stable; urgency=low
* Fix for cc65-doc package
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Tue, 03 Aug 2010 20:35:00 +0200
cc65 (2.13.2-1) stable; urgency=low
* New upstream version
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Wed, 17 Mar 2010 10:44:00 +0100
cc65 (2.13.0svn4529-3) stable; urgency=low
* Add patch so the other libsrc/*/ directories compile even with installed
cc65 headers.
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Fri, 18 Dec 2009 19:37:00 +0100
cc65 (2.13.0svn4529-2) stable; urgency=low
* Add patch so libsrc/tgi compiles even with installed cc65 headers.
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Thu, 17 Dec 2009 21:12:00 +0100
cc65 (2.13.0svn4529-1) stable; urgency=low
* New upstream SVN version
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Wed, 16 Dec 2009 19:44:00 +0100
cc65 (2.13.0svn4389-2) stable; urgency=low
* New rules, using newer debhelper
* Split documentation in it's own package
* Add packages for apple2enh, lynks, atmos, nes and supervision
* Add missing build-dependencies
* Don't build info files, some names conflict with already used names from other packages
-- Daniel Serpell <daniel.serpell@gmail.com> Mon, 26 Oct 2009 08:57:54 -0300
cc65 (2.13.0svn4389-1) stable; urgency=low
* Added bugfixes from upstream SVN
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Sun, 25 Oct 2009 11:47:00 +0100
cc65 (2.13.0-1) stable; urgency=low
* New upstream version
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Fri, 23 Oct 2009 13:46:00 +0200
cc65 (2.12.0-1) stable; urgency=low
* New upstream version
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Tue, 22 Apr 2008 19:11:00 +0200
cc65 (2.11.9-cvs20070211-1) stable; urgency=low
* New upstream version (cvs)
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Fri, 22 Feb 2007 21:30:00 +0100
cc65 (2.11.9-cvs20060823-1) stable; urgency=low
* New upstream version (cvs)
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Thu, 14 Sep 2006 17:44:03 +0100
cc65 (2.11.9-cvs20060606-2) stable; urgency=low
* compile for sarge
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Mon, 17 Jul 2006 20:54:27 +0100
cc65 (2.11.9-cvs20060606-1) stable; urgency=low
* New upstream version (cvs)
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Mon, 17 Jul 2006 19:52:13 +0100
cc65 (2.11.0-1) stable; urgency=low
* New upstream version
* Adjusted to sarge
-- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Mon, 22 Aug 2005 20:45:00 +0100
cc65 (2.9.0-1) stable; urgency=low
* New upstream version
* we're working in stable here
-- Michael Klein <michael.klein@puffin.lb.shuttle.de> Sun, 19 Jan 2003 17:19:00 +0100
cc65 (2.8.0-2) unstable; urgency=low
* debian/control: Suggest target packages, don't recommend them
-- Michael Klein <michael.klein@puffin.lb.shuttle.de> Sat, 21 Sep 2002 20:39:53 +0200
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:

View File

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

View File

@ -1 +0,0 @@
7

View File

@ -1,142 +0,0 @@
Source: cc65
Section: non-free/devel
Priority: optional
Maintainer: Michael Klein <michael.klein@puffin.lb.shuttle.de>
Build-Depends: debhelper, linuxdoc-tools, groff, dpatch, texinfo
Standards-Version: 3.2.1
Package: cc65
Suggests: cc65-apple2, cc65-apple2enh, cc65-atari, cc65-c128, cc65-c64, cc65-cbm510, cc65-cbm610, cc65-geos, cc65-pet, cc65-plus4, cc65-c16, cc65-vic20
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 target platform
packages in addition to the main package.
Package: cc65-doc
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: Documentation for the cc65 C compiler
This package contains the documentation for the cc65 C compiler, in HTML
and info format.
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-apple2enh
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: Apple //e specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Apple //e 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-atmos
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: Oric Atmos specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Oric Atmos 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-lynx
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: Lynx specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Lynx Game Console using the cc65 crosscompiler.
Package: cc65-nes
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: NES specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Nintendo Entertainment System 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.
Package: cc65-supervision
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: Supervision specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Supervision Game console using the cc65 crosscompiler.
Package: cc65-c16
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: C16/116 specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Commodore C16/116 using the cc65 crosscompiler.
Package: cc65-vic20
Architecture: all
Depends: cc65 (= ${Source-Version})
Description: VIC20 specific libraries and headers for the cc65 compiler
This package contains the header files and libraries needed to write
programs for the Commodore VIC20 using the cc65 crosscompiler.

View File

@ -1,88 +0,0 @@
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:-)

View File

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

View File

@ -1,63 +0,0 @@
#! /bin/bash
#exit 1
FILE=debian/cc65-doc.postinst.debhelper
oldpatch() {
# $1 = file
# $2 = description
sed -ie "s/\(install-info --quiet\) \(\/usr\/share\/info\/$1.info\)/\1 --section CC65.* \"CC65 cross-compiler for 6502 systems\" --description=\"$2\" \2/" $FILE
}
patch() {
# $1 = file (i.e., cc65 for cc65.info)
# $2 = description
sed -ie "1iINFO-DIR-SECTION CC65 \"CC65 cross-compiler for 6502 systems\"\nSTART-INFO-DIR-ENTRY\n* $1: ($1). \"$2\"\nEND-INFO-DIR-ENTRY\n\n" doc/$1.info
}
patch index "cc65 documentation overview"
# Program documentation
patch ar65 "Describes the ar65 archiver."
patch ca65 "Describes the ca65 macro assembler."
patch ca65html "Describes the ca65html assembler-source-to-HTML converter."
patch cc65 "Describes the cc65 C compiler."
patch cl65 "Describes the cl65 compile & link utility."
patch co65 "Describes the co65 object-file converter."
patch da65 "Describes the da65 6502\/65C02 disassembler."
patch grc65 "Describes the GEOS resource compiler (grc)."
patch ld65 "Describes the ld65 linker."
patch od65 "Describes the od65 object file dump utility."
# Usage
patch intro "Describes the use of the tools, by building a short 'hello world' example"
patch coding "Contains hints on creating the most effective code with cc65."
patch using-make "Build programs, using the GNU Make utility."
patch customizing "How to use the cc65 toolset for a custom hardware platform (a target system not currently supported by the cc65 library set)."
patch debugging "Debug programs, using the VICE emulator."
# Library information and other references
patch funcref "A (currently incomplete) function reference."
patch dio "Low-level disk I\/O API."
patch geos "The GEOSLib manual."
patch library "An overview over the cc65 runtime and C libraries."
# Platform-specific information
patch apple2 "Topics specific to the Apple ][."
patch apple2enh "Topics specific to the enhanced Apple \/\/e."
patch atari "Topics specific to the Atari 8-bit machines."
patch atmos "Topics specific to the Oric Atmos."
patch c128 "Topics specific to the Commodore 128."
patch c16 "Topics specific to the Commodore 16\/116."
patch c64 "Topics specific to the Commodore 64."
patch cbm510 "Topics specific to the Commodore 510."
patch cbm610 "Topics specific to the Commodore 610."
patch lynx "Topics specific to the Atari Lynx Game Console."
patch nes "Topics specific to the Nintendo Entertainment System."
patch pet "Topics specific to the Commodore PET machines."
patch plus4 "Topics specific to the Commodore Plus\/4."
patch supervision "Topics specific to the Supervision Console."
patch vic20 "Topics specific to the Commodore VIC20."

View File

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

View File

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

View File

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

View File

@ -1,7 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## apple2doc.dpatch by <ml-cc65@trikaliotis.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@

View File

@ -1,157 +0,0 @@
#!/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=5
include /usr/share/dpatch/dpatch.make
build: build-stamp
build-stamp: patch
dh_testdir
install -d libsrc/apple2enh/extra
# Add here commands to compile the package.
$(MAKE) -C src -f make/gcc.mak
$(MAKE) -C libsrc
$(MAKE) -C doc txt html info
chmod 755 debian/fixinfo
debian/fixinfo
touch build-stamp
[ -e announce.txt ] || touch announce.txt
clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp
-$(MAKE) -C src -f make/gcc.mak zap
-$(MAKE) -C libsrc zap
-$(MAKE) -C doc zap
# remove files that the upstream system erroneously left behind
[ ! -e libsrc/geos-cbm/devel/geos-tgi.tgi ] || rm libsrc/geos-cbm/devel/geos-tgi.tgi
[ ! -e libsrc/geos-cbm/devel/geos-vdc.emd ] || rm libsrc/geos-cbm/devel/geos-vdc.emd
[ ! -e libsrc/geos-cbm/devel/geos-stdjoy.joy ] || rm libsrc/geos-cbm/devel/geos-stdjoy.joy
dh_clean
install: DH_OPTIONS=
install: build
dh_testdir
dh_testroot
dh_installdirs
# Add here commands to install the package into debian/tmp.
# (copied from RPM spec file)
mkdir -p debian/tmp/usr/bin
mkdir -p debian/tmp/usr/lib/cc65/asminc
mkdir -p debian/tmp/usr/lib/cc65/cfg
mkdir -p debian/tmp/usr/lib/cc65/emd
mkdir -p debian/tmp/usr/lib/cc65/include/em
mkdir -p debian/tmp/usr/lib/cc65/include/geos
mkdir -p debian/tmp/usr/lib/cc65/include/joystick
mkdir -p debian/tmp/usr/lib/cc65/include/mouse
mkdir -p debian/tmp/usr/lib/cc65/include/sys
mkdir -p debian/tmp/usr/lib/cc65/include/tgi
mkdir -p debian/tmp/usr/lib/cc65/joy
mkdir -p debian/tmp/usr/lib/cc65/lib
mkdir -p debian/tmp/usr/lib/cc65/mou
mkdir -p debian/tmp/usr/lib/cc65/obj
mkdir -p debian/tmp/usr/lib/cc65/ser
mkdir -p debian/tmp/usr/lib/cc65/tgi
# Binaries
install -s -m 755 src/ar65/ar65 debian/tmp/usr/bin
install -s -m 755 src/ca65/ca65 debian/tmp/usr/bin
install -m 755 src/ca65html/ca65html debian/tmp/usr/bin
install -s -m 755 src/cc65/cc65 debian/tmp/usr/bin
install -s -m 755 src/cl65/cl65 debian/tmp/usr/bin
install -s -m 755 src/co65/co65 debian/tmp/usr/bin
install -s -m 755 src/da65/da65 debian/tmp/usr/bin
install -s -m 755 src/grc65/grc65 debian/tmp/usr/bin
install -s -m 755 src/ld65/ld65 debian/tmp/usr/bin
install -s -m 755 src/od65/od65 debian/tmp/usr/bin
# Libraries and includes
install -m 644 libsrc/*.lib debian/tmp/usr/lib/cc65/lib
install -m 644 include/*.h debian/tmp/usr/lib/cc65/include
install -m 644 include/geos/*.h debian/tmp/usr/lib/cc65/include/geos
install -m 644 include/em/*.h debian/tmp/usr/lib/cc65/include/em
install -m 644 include/joystick/*.h debian/tmp/usr/lib/cc65/include/joystick
install -m 644 include/mouse/*.h debian/tmp/usr/lib/cc65/include/mouse
install -m 644 include/sys/*.h debian/tmp/usr/lib/cc65/include/sys
install -m 644 include/tgi/*.h debian/tmp/usr/lib/cc65/include/tgi
install -m 644 asminc/*.inc debian/tmp/usr/lib/cc65/asminc
# Extra object files
for extra in libsrc/*-*.o; do \
install -m 644 $${extra} debian/tmp/usr/lib/cc65/obj; \
done
# Additional linker configurations
for config in src/ld65/cfg/*-*.cfg; do \
install -m 644 $${config} debian/tmp/usr/lib/cc65/cfg; \
done
# Drivers
install -m 644 libsrc/*.emd debian/tmp/usr/lib/cc65/emd
install -m 644 libsrc/*.joy debian/tmp/usr/lib/cc65/joy
install -m 644 libsrc/*.mou debian/tmp/usr/lib/cc65/mou
install -m 644 libsrc/*.ser debian/tmp/usr/lib/cc65/ser
install -m 644 libsrc/*.tgi debian/tmp/usr/lib/cc65/tgi
dh_install
dh_movefiles
# This single target is used to build all the packages, all at once, or
# one at a time. So keep in mind: any options passed to commands here will
# affect _all_ packages. Anything you want to only affect one package
# should be put in another target, such as the install target.
binary-common:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installcatalogs
# dh_installmime
# dh_installinit
dh_installman
dh_installinfo
# dh_installwm
# dh_lintian
# dh_bugfiles
# dh_undocumented
dh_strip
dh_link
dh_compress
dh_fixperms
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture independant packages using the common target.
binary-indep: build install
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build architecture dependant packages using the common target.
binary-arch: build install
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
# Any other binary targets build just one binary package at a time.
binary-%: build install
make -f debian/rules binary-common DH_OPTIONS=-p$*
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary-common binary install

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,547 +0,0 @@
#
# RPM SPEC file for the cc65 C compiler
#
# 04/15/2010, Robert Hurst <robert@hurst-ri.us>
# 03/08/2001, Ullrich von Bassewitz (uz@cc65.org)
#
###############################################################################
# Main package #
###############################################################################
Summary: Crosscompiler/Crossassembler for 6502 systems
%define name cc65
Name: %{name}
%define version 2.13.2
Version: %{version}
Release: 1
License: Freeware with exceptions - see docs
Group: Development/Languages
Source: ftp://ftp.musoftware.de/pub/uz/cc65/%{name}-sources-%{version}.tar.bz2
Vendor: MU Softwareentwicklung
#Packager: Ullrich von Bassewitz <uz@musoftware.de>
URL: http://www.cc65.org/
%ifos linux
BuildRequires: perl
BuildRequires: sgml-tools
%endif
BuildRoot: %{_topdir}/%{name}-%{version}
%description
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 target platform
packages in addition to the main package.
%files
%defattr(644,root,root,755)
%doc announce.txt
%doc doc/BUGS
%doc doc/CREDITS
%doc doc/readme.1st
%attr(755,root,root) /usr/bin/ar65
%attr(755,root,root) /usr/bin/ca65
%attr(755,root,root) /usr/bin/ca65html
%attr(755,root,root) /usr/bin/cc65
%attr(755,root,root) /usr/bin/cl65
%attr(755,root,root) /usr/bin/co65
%attr(755,root,root) /usr/bin/da65
%attr(755,root,root) /usr/bin/ld65
%attr(755,root,root) /usr/bin/od65
%attr(755,root,root) /usr/bin/sp65
%attr(755,root,root) %dir %{_libdir}/cc65
%attr(755,root,root) %dir %{_libdir}/cc65/cfg
%attr(755,root,root) %dir %{_libdir}/cc65/emd
%attr(755,root,root) %dir %{_libdir}/cc65/joy
%attr(755,root,root) %dir %{_libdir}/cc65/lib
%attr(755,root,root) %dir %{_libdir}/cc65/obj
%attr(755,root,root) %dir %{_libdir}/cc65/ser
%attr(755,root,root) %dir %{_libdir}/cc65/tgi
%attr(755,root,root) %dir %{_libdir}/cc65/include
%attr(644,root,root) %{_libdir}/cc65/include/*.h
%attr(755,root,root) %dir %{_libdir}/cc65/include/em
%attr(644,root,root) %{_libdir}/cc65/include/em/*.h
%attr(755,root,root) %dir %{_libdir}/cc65/include/joystick
%attr(644,root,root) %{_libdir}/cc65/include/joystick/*.h
%attr(755,root,root) %dir %{_libdir}/cc65/include/mouse
%attr(644,root,root) %{_libdir}/cc65/include/mouse/*.h
%attr(755,root,root) %dir %{_libdir}/cc65/include/sys
%attr(644,root,root) %{_libdir}/cc65/include/sys/*.h
%attr(755,root,root) %dir %{_libdir}/cc65/include/tgi
%attr(644,root,root) %{_libdir}/cc65/include/tgi/*.h
%attr(755,root,root) %dir %{_libdir}/cc65/asminc
%attr(644,root,root) %{_libdir}/cc65/asminc/*.inc
###############################################################################
# Documentation subpackage #
###############################################################################
%package doc
Requires: %{name} = %{version}
License: Freeware
Summary: Documentation for the cc65 C compiler
Group: Development/Languages
%description doc
This package contains the documentation for the cc65 C compiler, mostly
in HTML format. Other formats can be generated from the sources.
%files doc
%defattr(644,root,root,755)
%doc doc/*.html
%doc doc/compile.txt
%doc doc/internal.txt
%doc doc/newvers.txt
%doc samples
###############################################################################
# Apple ][ subpackage #
###############################################################################
%package apple2
Requires: %{name} = %{version}
License: Freeware
Summary: Apple ][ specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description apple2
This package contains the header files and libraries needed to write
programs for the Apple ][ using the cc65 crosscompiler.
%files apple2
%attr(644,root,root) %{_libdir}/cc65/lib/apple2.lib
%attr(644,root,root) %{_libdir}/cc65/obj/apple2-*.o
%attr(644,root,root) %{_libdir}/cc65/emd/a2.*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/a2.*.joy
%attr(644,root,root) %{_libdir}/cc65/mou/a2.*.mou
%attr(644,root,root) %{_libdir}/cc65/ser/a2.*.ser
%attr(644,root,root) %{_libdir}/cc65/tgi/a2.*.tgi
%attr(644,root,root) %{_libdir}/cc65/cfg/apple2-*.cfg
###############################################################################
# Apple //e subpackage #
###############################################################################
%package apple2enh
Requires: %{name} = %{version}
License: Freeware
Summary: Apple //e specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description apple2enh
This package contains the header files and libraries needed to write
programs for the Apple //e using the cc65 crosscompiler.
%files apple2enh
%attr(644,root,root) %{_libdir}/cc65/lib/apple2enh.lib
%attr(644,root,root) %{_libdir}/cc65/obj/apple2enh-*.o
%attr(644,root,root) %{_libdir}/cc65/emd/a2e.*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/a2e.*.joy
%attr(644,root,root) %{_libdir}/cc65/mou/a2e.*.mou
%attr(644,root,root) %{_libdir}/cc65/ser/a2e.*.ser
%attr(644,root,root) %{_libdir}/cc65/tgi/a2e.*.tgi
%attr(644,root,root) %{_libdir}/cc65/cfg/apple2enh-*.cfg
###############################################################################
# Atari subpackage #
###############################################################################
%package atari
Requires: %{name} = %{version}
License: Freeware
Summary: Atari specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description atari
This package contains the header files and libraries needed to write
programs for the 8 bit Atari machines using the cc65 crosscompiler.
%files atari
%attr(644,root,root) %{_libdir}/cc65/lib/atari.lib
%attr(644,root,root) %{_libdir}/cc65/emd/atr*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/atari*.joy
%attr(644,root,root) %{_libdir}/cc65/tgi/atari*.tgi
%attr(644,root,root) %{_libdir}/cc65/tgi/atr*.tgi
%attr(644,root,root) %{_libdir}/cc65/cfg/atari-*.cfg
###############################################################################
# Oric Atmos subpackage #
###############################################################################
%package atmos
Requires: %{name} = %{version}
License: Freeware
Summary: Oric Atmos specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description atmos
This package contains the header files and libraries needed to write
programs for the Oric Atmos using the cc65 crosscompiler.
%files atmos
%attr(644,root,root) %{_libdir}/cc65/lib/atmos.lib
%attr(644,root,root) %{_libdir}/cc65/joy/atmos-*.joy
%attr(644,root,root) %{_libdir}/cc65/ser/atmos-*.ser
%attr(644,root,root) %{_libdir}/cc65/tgi/atmos-*.tgi
###############################################################################
# C128 subpackage #
###############################################################################
%package c128
Requires: %{name} = %{version}
License: Freeware
Summary: C128 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description c128
This package contains the header files and libraries needed to write
programs for the Commodore C128 using the cc65 crosscompiler.
%files c128
%attr(644,root,root) %{_libdir}/cc65/lib/c128.lib
%attr(644,root,root) %{_libdir}/cc65/emd/c128-*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/c128-*.joy
%attr(644,root,root) %{_libdir}/cc65/mou/c128-*.mou
%attr(644,root,root) %{_libdir}/cc65/ser/c128-*.ser
%attr(644,root,root) %{_libdir}/cc65/tgi/c128-*.tgi
###############################################################################
# C16 subpackage #
###############################################################################
%package c16
Requires: %{name} = %{version}
License: Freeware
Summary: C16/116 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description c16
This package contains the header files and libraries needed to write
programs for the Commodore C16/116 using the cc65 crosscompiler.
%files c16
%attr(644,root,root) %{_libdir}/cc65/lib/c16.lib
%attr(644,root,root) %{_libdir}/cc65/emd/c16-*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/c16-*.joy
###############################################################################
# C64 subpackage #
###############################################################################
%package c64
Requires: %{name} = %{version}
License: Freeware
Summary: C64 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description c64
This package contains the header files and libraries needed to write
programs for the Commodore C64 using the cc65 crosscompiler.
%files c64
%attr(644,root,root) %{_libdir}/cc65/lib/c64.lib
%attr(644,root,root) %{_libdir}/cc65/emd/dtv-*.emd
%attr(644,root,root) %{_libdir}/cc65/emd/c64-*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/c64-*.joy
%attr(644,root,root) %{_libdir}/cc65/mou/c64-*.mou
%attr(644,root,root) %{_libdir}/cc65/ser/c64-*.ser
%attr(644,root,root) %{_libdir}/cc65/tgi/c64-*.tgi
%attr(644,root,root) %{_libdir}/cc65/cfg/c64-*.cfg
###############################################################################
# CBM510 subpackage #
###############################################################################
%package cbm510
Requires: %{name} = %{version}
License: Freeware
Summary: CBM 510 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description cbm510
This package contains the header files and libraries needed to write
programs for the Commodore CBM 510 (aka P500) using the cc65
crosscompiler.
%files cbm510
%attr(644,root,root) %{_libdir}/cc65/lib/cbm510.lib
%attr(644,root,root) %{_libdir}/cc65/emd/cbm510-*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/cbm510-*.joy
%attr(644,root,root) %{_libdir}/cc65/ser/cbm510-*.ser
###############################################################################
# CBM610 subpackage #
###############################################################################
%package cbm610
Requires: %{name} = %{version}
License: Freeware
Summary: CBM 610 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description cbm610
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.
%files cbm610
%attr(644,root,root) %{_libdir}/cc65/lib/cbm610.lib
%attr(644,root,root) %{_libdir}/cc65/emd/cbm610-*.emd
%attr(644,root,root) %{_libdir}/cc65/ser/cbm610-*.ser
###############################################################################
# GEOS subpackage #
###############################################################################
%package geos
Requires: %{name} = %{version}
License: Freeware
Summary: GEOS specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description geos
This package contains the header files and libraries needed to write
GEOS programs for the C64/C128 using the cc65 crosscompiler.
%files geos
%attr(755,root,root) /usr/bin/grc65
%attr(644,root,root) %{_libdir}/cc65/lib/geos-cbm.lib
%attr(644,root,root) %{_libdir}/cc65/lib/geos-apple.lib
%attr(755,root,root) %dir %{_libdir}/cc65/include/geos
%attr(644,root,root) %{_libdir}/cc65/include/geos/*.h
%attr(644,root,root) %{_libdir}/cc65/emd/geos-*.emd
%attr(644,root,root) %{_libdir}/cc65/joy/geos-*.joy
%attr(644,root,root) %{_libdir}/cc65/tgi/geos-*.tgi
%attr(644,root,root) %{_libdir}/cc65/cfg/geos-*.cfg
###############################################################################
# Lynx subpackage #
###############################################################################
%package lynx
Requires: %{name} = %{version}
License: Freeware
Summary: Lynx specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description lynx
This package contains the header files and libraries needed to write
programs for the Lynx Game Console using the cc65 crosscompiler.
%files lynx
%attr(644,root,root) %{_libdir}/cc65/lib/lynx.lib
%attr(644,root,root) %{_libdir}/cc65/joy/lynx-*.joy
%attr(644,root,root) %{_libdir}/cc65/ser/lynx-*.ser
%attr(644,root,root) %{_libdir}/cc65/tgi/lynx-*.tgi
%attr(644,root,root) %{_libdir}/cc65/cfg/lynx-*.cfg
###############################################################################
# NES subpackage #
###############################################################################
%package nes
Requires: %{name} = %{version}
License: Freeware
Summary: NES specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description nes
This package contains the header files and libraries needed to write
programs for the Nintendo Entertainment System using the cc65
crosscompiler.
%files nes
%attr(644,root,root) %{_libdir}/cc65/lib/nes.lib
%attr(644,root,root) %{_libdir}/cc65/joy/nes-*.joy
%attr(644,root,root) %{_libdir}/cc65/tgi/nes-*.tgi
###############################################################################
# PET subpackage #
###############################################################################
%package pet
Requires: %{name} = %{version}
License: Freeware
Summary: PET specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description pet
This package contains the header files and libraries needed to write
programs for the Commodore PET family of computers using the cc65
crosscompiler.
%files pet
%attr(644,root,root) %{_libdir}/cc65/lib/pet.lib
%attr(644,root,root) %{_libdir}/cc65/joy/pet-*.joy
###############################################################################
# Plus/4 subpackage #
###############################################################################
%package plus4
Requires: %{name} = %{version}
License: Freeware
Summary: Plus/4 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description plus4
This package contains the header files and libraries needed to write
programs for the Commodore Plus/4 and C16/116 using the cc65
crosscompiler.
%files plus4
%attr(644,root,root) %{_libdir}/cc65/lib/plus4.lib
%attr(644,root,root) %{_libdir}/cc65/joy/plus4-*.joy
%attr(644,root,root) %{_libdir}/cc65/ser/plus4-*.ser
###############################################################################
# Supervision subpackage #
###############################################################################
%package supervision
Requires: %{name} = %{version}
License: Freeware
Summary: Supervision specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description supervision
This package contains the header files and libraries needed to write
programs for the Supervision Game console using the cc65 crosscompiler.
%files supervision
%attr(644,root,root) %{_libdir}/cc65/lib/supervision.lib
%attr(644,root,root) %{_libdir}/cc65/cfg/supervision-*.cfg
###############################################################################
# VIC20 subpackage #
###############################################################################
%package vic20
Requires: %{name} = %{version}
License: Freeware
Summary: VIC20 specific libraries and headers for the cc65 compiler.
Group: Development/Languages
%description vic20
This package contains the header files and libraries needed to write
programs for the Commodore VIC20 using the cc65 crosscompiler.
%files vic20
%attr(644,root,root) %{_libdir}/cc65/lib/vic20.lib
%attr(644,root,root) %{_libdir}/cc65/joy/vic20-*.joy
%attr(644,root,root) %{_libdir}/cc65/cfg/vic20-*.cfg
###############################################################################
# Build #
###############################################################################
%prep
%setup -q
%build
# Binaries
make -C src -f make/gcc.mak
# Libraries
make -C libsrc -s zap all
# Documentation
make -C doc html
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,cfg,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,obj,ser,tgi}}
# Binaries
install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/co65/co65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/grc65/grc65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/sp65/sp65 $RPM_BUILD_ROOT%{_bindir}
# Libraries and includes
install -m 644 libsrc/*.lib $RPM_BUILD_ROOT%{_libdir}/cc65/lib
install -m 644 include/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include
install -m 644 include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/geos
install -m 644 include/em/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/em
install -m 644 include/joystick/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/joystick
install -m 644 include/mouse/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/mouse
install -m 644 include/sys/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/sys
install -m 644 include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/tgi
install -m 644 asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/cc65/asminc
# Extra object files
for extra in libsrc/*-*.o; do
install -m 644 ${extra} $RPM_BUILD_ROOT%{_libdir}/cc65/obj
done
# Additional linker configurations
for config in src/ld65/cfg/*-*.cfg; do
install -m 644 ${config} $RPM_BUILD_ROOT%{_libdir}/cc65/cfg
done
# Drivers
install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/cc65/emd
install -m 644 libsrc/*.joy $RPM_BUILD_ROOT%{_libdir}/cc65/joy
install -m 644 libsrc/*.mou $RPM_BUILD_ROOT%{_libdir}/cc65/mou
install -m 644 libsrc/*.ser $RPM_BUILD_ROOT%{_libdir}/cc65/ser
install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/cc65/tgi
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Apr 15 2010 Robert Hurst <robert@hurst-ri.us>
- built for RPM Fusion non-free repository
* Thu Dec 23 2003 Ullrich von Bassewitz <uz@cc65.org>
- Changelog is now in CVS