mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 06:39:36 +02:00
initial commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
Getting Atari ROMs
|
||||
------------------
|
||||
|
||||
The Atari ROMs can be downloaded from:
|
||||
|
||||
http://prdownloads.sf.net/atari800/xf25.zip
|
||||
|
||||
Note that if you don't own an Atari, getting the ROMs via ftp may not be
|
||||
legal. You must have the ROMs to use this emulator. The system admin should
|
||||
install the ROMS in /usr/local/lib/atari/ROMS/ or anywhere else if you
|
||||
adapt the configuration file (see the provided atari800.cfg).
|
||||
|
||||
Getting Atari Software
|
||||
----------------------
|
||||
|
||||
To add other software, you'll have to find your own disk images (some are
|
||||
in the xf25.zip I mentioned above), and install them either in
|
||||
/usr/local/lib/atari/DISKS or somewhere else.
|
||||
|
||||
Running the Emulator
|
||||
--------------------
|
||||
|
||||
In the past, 3 versions of the Atari emulator were needed to support both
|
||||
an X version and either vga or curses version for the console.
|
||||
|
||||
With the incorporation of the SDL interface, the same code can run in both
|
||||
the console and an X window.
|
||||
|
||||
Luck,
|
||||
|
||||
-- Dale Scheetz <dwarf@polaris.net>
|
||||
|
||||
From the new maintainer:
|
||||
------------------------
|
||||
|
||||
1st takeover
|
||||
------------
|
||||
|
||||
I took over this package from Dale after using it for some years, thanks Dwarf!
|
||||
|
||||
Future packages should be build with either
|
||||
- diskleds (temporarily visible disk activity indicators) or
|
||||
- siosound (the atari makes some noise for every disk sector transferred).
|
||||
Please vote!
|
||||
|
||||
Join the A-Team to comaintain this and possibly other (Atari-)Emulators and
|
||||
build some common foundation and knowledgebase for emulation within Debian GNU.
|
||||
|
||||
Have a nice day, Martin Albert <ma@debian.org>
|
||||
|
||||
2nd takeover
|
||||
------------
|
||||
|
||||
I took over this package from Martin, thanks for excelent work. I am in close
|
||||
cooperation with Petr Stehlik, who maintains the sources, he is doing
|
||||
excelent job as a release manager.
|
||||
|
||||
Enjoy the package, Antonin Kral <A.Kral@sh.cvut.cz>
|
||||
@@ -0,0 +1,91 @@
|
||||
Atari 800 Emulator, Version 2.2.0
|
||||
OS/A_ROM=/usr/local/lib/atari/ROMS/ATARIOSA.ROM
|
||||
OS/B_ROM=/usr/local/lib/atari/ROMS/ATARIOSB.ROM
|
||||
XL/XE_ROM=/usr/local/lib/atari/ROMS/ATARIXL.ROM
|
||||
BASIC_ROM=/usr/local/lib/atari/ROMS/ATARIBAS.ROM
|
||||
5200_ROM=/usr/local/lib/atari/ROMS/5200.ROM
|
||||
H1_DIR=
|
||||
H2_DIR=
|
||||
H3_DIR=
|
||||
H4_DIR=
|
||||
HD_READ_ONLY=1
|
||||
PRINT_COMMAND=lpr %s
|
||||
SCREEN_REFRESH_RATIO=1
|
||||
MACHINE_TYPE=Atari XL/XE
|
||||
RAM_SIZE=64
|
||||
DEFAULT_TV_MODE=PAL
|
||||
DISABLE_BASIC=1
|
||||
ENABLE_SIO_PATCH=1
|
||||
ENABLE_H_PATCH=1
|
||||
ENABLE_P_PATCH=1
|
||||
STEREO_POKEY=0
|
||||
SPEAKER_SOUND=1
|
||||
MIO_ROM=
|
||||
BLACK_BOX_ROM=
|
||||
XLD_D_ROM=
|
||||
XLD_V_ROM=
|
||||
PROTO80_ROM=
|
||||
AF80_ROM=
|
||||
AF80_CHARSET=
|
||||
COLOURS_NTSC_SATURATION=0
|
||||
COLOURS_NTSC_CONTRAST=0
|
||||
COLOURS_NTSC_BRIGHTNESS=0
|
||||
COLOURS_NTSC_GAMMA=0.3
|
||||
COLOURS_NTSC_HUE=0
|
||||
COLOURS_NTSC_DELAY=21
|
||||
COLOURS_NTSC_EXTERNAL_PALETTE=
|
||||
COLOURS_NTSC_EXTERNAL_PALETTE_LOADED=0
|
||||
COLOURS_NTSC_ADJUST_EXTERNAL_PALETTE=0
|
||||
COLOURS_PAL_SATURATION=0
|
||||
COLOURS_PAL_CONTRAST=0
|
||||
COLOURS_PAL_BRIGHTNESS=0
|
||||
COLOURS_PAL_GAMMA=0.3
|
||||
COLOURS_PAL_EXTERNAL_PALETTE=
|
||||
COLOURS_PAL_EXTERNAL_PALETTE_LOADED=0
|
||||
COLOURS_PAL_ADJUST_EXTERNAL_PALETTE=0
|
||||
SCREEN_SHOW_SPEED=0
|
||||
SCREEN_SHOW_IO_ACTIVITY=1
|
||||
SCREEN_SHOW_IO_COUNTER=0
|
||||
FILTER_NTSC_SHARPNESS=-0.5
|
||||
FILTER_NTSC_RESOLUTION=-0.1
|
||||
FILTER_NTSC_ARTIFACTS=0
|
||||
FILTER_NTSC_FRINGING=0
|
||||
FILTER_NTSC_BLEED=0
|
||||
FILTER_NTSC_BURST_PHASE=0
|
||||
VIDEOMODE_WINDOW_WIDTH=336
|
||||
VIDEOMODE_WINDOW_HEIGHT=240
|
||||
VIDEOMODE_FULLSCREEN_WIDTH=336
|
||||
VIDEOMODE_FULLSCREEN_HEIGHT=240
|
||||
VIDEOMODE_WINDOWED=1
|
||||
VIDEOMODE_HORIZONTAL_AREA=TV
|
||||
VIDEOMODE_VERTICAL_AREA=TV
|
||||
VIDEOMODE_HORIZONTAL_SHIFT=0
|
||||
VIDEOMODE_VERTICAL_SHIFT=0
|
||||
VIDEOMODE_STRETCH=INTEGRAL
|
||||
VIDEOMODE_FIT=BOTH
|
||||
VIDEOMODE_IMAGE_ASPECT=SQUARE-PIXELS
|
||||
VIDEOMODE_ROTATE90=0
|
||||
VIDEOMODE_HOST_ASPECT_RATIO=0:0
|
||||
VIDEOMODE_NTSC_FILTER=0
|
||||
VIDEOMODE_80_COLUMN=1
|
||||
SCANLINES_PERCENTAGE=5
|
||||
INTERPOLATE_SCANLINES=1
|
||||
VIDEO_VSYNC=0
|
||||
VIDEO_ACCEL=0
|
||||
PIXEL_FORMAT=BGR16
|
||||
BILINEAR_FILTERING=0
|
||||
OPENGL_PBO=1
|
||||
VIDEO_BPP=0
|
||||
SDL_JOY_0_ENABLED=1
|
||||
SDL_JOY_0_LEFT=260
|
||||
SDL_JOY_0_RIGHT=262
|
||||
SDL_JOY_0_UP=264
|
||||
SDL_JOY_0_DOWN=261
|
||||
SDL_JOY_0_TRIGGER=305
|
||||
SDL_JOY_1_ENABLED=0
|
||||
SDL_JOY_1_LEFT=97
|
||||
SDL_JOY_1_RIGHT=100
|
||||
SDL_JOY_1_UP=119
|
||||
SDL_JOY_1_DOWN=115
|
||||
SDL_JOY_1_TRIGGER=306
|
||||
|
||||
@@ -0,0 +1,256 @@
|
||||
atari800 (3.0.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Petr Stehlik <pstehlik@sophics.cz> Sun, 03 Mar 2013 03:03:03 +0200
|
||||
|
||||
atari800 (2.2.1-2) unstable; urgency=low
|
||||
|
||||
* depend on libpng-dev not libpng12-dev (Closes: #662272)
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Mon, 05 Mar 2012 09:29:03 +0100
|
||||
|
||||
atari800 (2.2.1-1) unstable; urgency=low
|
||||
|
||||
* new upstream release fixes kFreeBSD and other things
|
||||
Closes: #621100
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Thu, 28 Apr 2011 18:45:09 +0200
|
||||
|
||||
atari800 (2.2.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Upstream dropped support for X and ncurses versions
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Wed, 06 Apr 2011 13:11:07 +0200
|
||||
|
||||
atari800 (2.1.0-2) unstable; urgency=low
|
||||
|
||||
* Link against libreadline(6) (Closes: #553728)
|
||||
* fixes stale autoconf files
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Tue, 22 Dec 2009 21:45:05 +0100
|
||||
|
||||
atari800 (2.1.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Updated atari800.cfg example config file.
|
||||
* Added dependency to libreadline5-dev.
|
||||
* added libpng12-dev to build depends
|
||||
* hopefully fixed problem with gpg key in keyring
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Tue, 05 May 2009 19:05:33 +0000
|
||||
|
||||
atari800 (2.0.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* added calls to strip to get rid of .comment section (linda complained)
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Wed, 11 Jul 2007 18:49:38 +0000
|
||||
|
||||
atari800 (2.0.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream source. Closes: #288543
|
||||
* Updated atari800.cfg example config file.
|
||||
* Package addopted, Closes: #379022
|
||||
|
||||
-- Antonin Kral <A.Kral@sh.cvut.cz> Sun, 01 Oct 2006 13:59:59 +0200
|
||||
|
||||
atari800 (1.3.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream source and new maintainer (closes: #226787).
|
||||
* Debian/control: remove debhelper and sharutils from Build-Depends.
|
||||
* Debian/rules: handle DEB_BUILD_OPTIONS=noopt,
|
||||
clean: removes src/Makefile and src/config.{h,log,status}.
|
||||
* Update config.{guess,sub} from autotools-dev-20040105.1.
|
||||
* Patch src/rdevice.c::581,583 to use '/dev/ttyS0' on all archs.
|
||||
* Add some notes of new maintainer to README.Debian - thanks Dale.
|
||||
|
||||
-- Martin Albert <ma@debian.org> Thu, 19 Feb 2004 20:09:49 +0100
|
||||
|
||||
atari800 (1.3.1-2) unstable; urgency=low
|
||||
|
||||
* Fixed broken syntax in last changelog entry. Closes: #203707
|
||||
* Changed dependency from xlib6g-dev to xlibs-dev. Closes: #209203
|
||||
* Repaired bad patch. Now deliver upstream changelog and NEWS
|
||||
* Updated /etc/atari800.cfg example in /usr/share/doc/atari800
|
||||
* provided by upstream author.
|
||||
* Fixed several Lintian Warnings/Errors:
|
||||
* Removed /usr/share/doc/atari800/INSTALL.gz
|
||||
* Removed postinst usr-doc-link code
|
||||
* Added copyright reference to /usr/share/common-licenses
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Wed, 8 Oct 2003 17:26:37 -0400
|
||||
|
||||
atari800 (1.3.1-1) unstable; urgency=low
|
||||
|
||||
* new upstream source
|
||||
* updated configure files. Closes: #193397
|
||||
* removed svgalib version, security fix installed upstream. Closes 203707
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Sat, 6 Sep 2003 17:14:56 -0400
|
||||
|
||||
atari800 (1.3.0-2) unstable; urgency=low
|
||||
|
||||
* changed build depends from xlib6g-dev to xlibs-dev and libncurses-dev
|
||||
* to libncurses5-dev. Closes: #188777
|
||||
* new system wide config file example in /usr/share/doc/atari800/atari800.cfg
|
||||
* for details see /usr/share/doc/atari800/README.Debian
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Tue, 13 May 2003 19:00:50 -0400
|
||||
|
||||
atari800 (1.3.0-1) unstable; urgency=low
|
||||
|
||||
* new upstream source. (error in last entry ;-)
|
||||
* modified config and added sdl target to the build
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Sat, 12 Apr 2003 14:56:16 -0400
|
||||
|
||||
atari800 (1.2.2-1) unstable; urgency=low
|
||||
|
||||
* new upstream source. Finally catching up...
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Sat, 16 Mar 2002 20:32:22 -0500
|
||||
|
||||
atari800 (1.0.7-3) unstable; urgency=low
|
||||
|
||||
* Compiled against libncurses5-dev. Closes: #132589
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Sat, 9 Feb 2002 14:32:05 -0500
|
||||
|
||||
atari800 (1.0.7-2) unstable; urgency=low
|
||||
|
||||
* Fixed rules file so svgalib version is only built/installed
|
||||
* on i386 architectures. Closes: #122282, #122779
|
||||
* Added patch to wrap LED_lastline in SET_LED #ifdef to allow reasonable
|
||||
* feature selection. Thanks Stephen!
|
||||
* Fixed USAGE docs for curses mode keyboard controls to declare
|
||||
* the F8 function key starts basic mode operations.
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Fri, 7 Dec 2001 11:47:05 -0500
|
||||
|
||||
atari800 (1.0.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream source. Closes: #81032
|
||||
* Changed Maintainer to match signature. Closes: #104829
|
||||
* Compiled with sound enabled. Closes: #70940
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Sat, 3 Nov 2001 17:25:15 -0500
|
||||
|
||||
atari800 (0.9.9f-3) unstable; urgency=low
|
||||
|
||||
* Added sharutils to build-depends. Closes: #104829
|
||||
|
||||
-- Dale Scheetz (Dwarf #1) <dwarf@polaris.net> Tue, 25 Sep 2001 12:46:15 -0400
|
||||
|
||||
atari800 (0.9.9f-2) unstable; urgency=low
|
||||
|
||||
* new maintainer...
|
||||
|
||||
-- Dale Scheetz <dwarf@polaris.net> Sat, 26 Aug 2000 08:11:23 -0400
|
||||
|
||||
atari800 (0.9.9f-1) unstable; urgency=low
|
||||
|
||||
* Hm, seems this is the package time forgot. I missed checking this into
|
||||
cvs when I converted, and then forgot about it.
|
||||
* New upstream version which fixes X. Closes: #57435
|
||||
* Several changes like build-depends and FHS.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Mon, 1 May 2000 15:35:26 -0700
|
||||
|
||||
atari800 (0.9.8a-2) unstable; urgency=low
|
||||
|
||||
* Updated config file.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Fri, 9 Oct 1998 12:34:44 -0700
|
||||
|
||||
atari800 (0.9.8a-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* No pristine source since upstream source is now a .zip file.
|
||||
* Corrected several apparent dos-isms in the source. Ugh.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Tue, 6 Oct 1998 21:16:02 -0700
|
||||
|
||||
atari800 (0.8.6-3) unstable; urgency=low
|
||||
|
||||
* Don't use icon=none in menu file.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Wed, 5 Aug 1998 14:31:25 -0700
|
||||
|
||||
atari800 (0.8.6-2) unstable; urgency=low
|
||||
|
||||
* Rebuilt with a newer svgalib.
|
||||
* Hacked debian/rules so it still depends on | svgalib-dummyg1.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Sat, 14 Mar 1998 17:44:03 -0800
|
||||
|
||||
atari800 (0.8.6-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Sun, 8 Mar 1998 13:15:06 -0800
|
||||
|
||||
atari800 (0.8.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Sat, 21 Feb 1998 12:35:57 -0800
|
||||
|
||||
atari800 (0.8.2-2) unstable; urgency=low
|
||||
|
||||
* Updated fsf address.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Mon, 9 Feb 1998 13:05:46 -0800
|
||||
|
||||
atari800 (0.8.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Use debhelper.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Fri, 16 Jan 1998 14:34:10 -0500
|
||||
|
||||
atari800 (0.8.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Libc6.
|
||||
* Moved to contrib: depends on non-free roms.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Mon, 8 Sep 1997 18:43:42 -0400
|
||||
|
||||
atari800 (0.8.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- Now has sound support!
|
||||
* Changed debian menu file to 1.0 format.
|
||||
* The X version no longer uses xview. This interface has been obsoleted by
|
||||
the menu system that appears if you hit F1.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Sun, 20 Apr 1997 22:06:04 -0400
|
||||
|
||||
atari800 (0.7.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Wed, 2 Apr 1997 18:58:37 -0500
|
||||
|
||||
atari800 (0.6.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Added an atari800 game: Alien Encounter, with permission of
|
||||
author.
|
||||
* Added /etc/atari800.cfg file.
|
||||
* Added svgalib version to debian menu.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Sun, 23 Mar 1997 13:50:54 -0500
|
||||
|
||||
atari800 (0.6.1-1) unstable; urgency=low
|
||||
|
||||
* First release.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Wed, 5 Mar 1997 22:08:42 -0500
|
||||
|
||||
|
||||
Local variables:
|
||||
mode: debian-changelog
|
||||
End:
|
||||
@@ -0,0 +1,20 @@
|
||||
Source: atari800
|
||||
Section: contrib/otherosfs
|
||||
Priority: optional
|
||||
Maintainer: Antonin Kral <A.Kral@sh.cvut.cz>
|
||||
Build-Depends: libsdl1.2-dev, zlib1g-dev, libreadline-dev, libgl1-mesa-dev, libpng-dev, autotools-dev
|
||||
Standards-Version: 3.9.3
|
||||
Vcs-Git: git://github.com/bobek/aranym800-debian.git
|
||||
Vcs-Browser: https://github.com/bobek/aranym800-debian
|
||||
|
||||
Package: atari800
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: Atari800 emulator for SDL
|
||||
This is an emulator of Atari 8-bit computer systems including the 400, 800,
|
||||
1200XL, 600XL, 800XL, 65XE, 130XE, 800XE and the XE Game System,
|
||||
and also of the Atari 5200 SuperSystem console.
|
||||
.
|
||||
The Atari Operating System ROMs are not available with this package, due to
|
||||
copyright. You'll have to either make copies of them from an old Atari
|
||||
computer, or see README.Debian for other ways to obtain them.
|
||||
@@ -0,0 +1,11 @@
|
||||
This is a Debian prepackaged version of the atari800 emulator.
|
||||
|
||||
This package was put together by Dale Scheetz <dwarf@polaris.net>, using
|
||||
sources from:
|
||||
http://atari800.sourceforge.net/
|
||||
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (C) 2011, Atari800 development team. Release under
|
||||
GPLv2 (see /usr/share/common-licenses/GPL-2)
|
||||
@@ -0,0 +1,2 @@
|
||||
?package(atari800):needs="x11" section="Applications/Emulators" \
|
||||
title="Atari Emulator" command="atari800"
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ "$1" = "configure" -a -x /usr/bin/update-menus ]; then update-menus ; fi
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ -x /usr/bin/update-menus ]; then update-menus ; fi
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/atari800 ]; then
|
||||
rm -f /usr/doc/atari800
|
||||
fi
|
||||
@@ -0,0 +1,149 @@
|
||||
#!/usr/bin/make -f
|
||||
#
|
||||
# This is a debian/rules make file. It supports the targets:
|
||||
# build, clean, binary-indep, binary-arch, and binary
|
||||
#
|
||||
# Package name variables
|
||||
#
|
||||
P=atari800
|
||||
|
||||
ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
|
||||
# Special Debian build options - nostrip yet un-handled
|
||||
export CFLAGS
|
||||
CFLAGS += -g -Wall
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O3
|
||||
endif
|
||||
|
||||
|
||||
# Build the binary components and assemble the libraries
|
||||
# =====================================================================
|
||||
build: build-arch build-indep
|
||||
build-arch: build-stamp
|
||||
build-indep: build-stamp
|
||||
build-stamp:
|
||||
$(checkdir)
|
||||
debian/rules bld-sdl
|
||||
touch build-stamp
|
||||
|
||||
bld-sdl:
|
||||
cd src ; if [ -e Makefile ]; then $(MAKE) clean; fi
|
||||
cd src ; ./configure \
|
||||
--with-video=sdl --with-sound=sdl
|
||||
cd src ; $(MAKE)
|
||||
|
||||
# Clean up after a build and before building a source package
|
||||
#======================================================================
|
||||
clean:
|
||||
$(checkdir)
|
||||
-rm -f build-stamp
|
||||
cd src ; if [ -e Makefile ]; then $(MAKE) clean; fi; \
|
||||
rm -f config.log config.status config.h Makefile
|
||||
mv ./atari800.spec ./tmp ; rm -f atari800 ; rm -f atari800.* ; mv ./tmp ./atari800.spec
|
||||
-rm -rf debian/tmp debian/*~ *~ *.orig *.log \
|
||||
debian/files* debian/substvars*
|
||||
|
||||
binary: binary-arch
|
||||
|
||||
# No binary independent components to this package
|
||||
#======================================================================
|
||||
binary-indep:
|
||||
#
|
||||
# No independent components
|
||||
#
|
||||
echo "No independent binary components."
|
||||
|
||||
# Install package components into debian/tmp to be built into packages
|
||||
#======================================================================
|
||||
binary-arch: checkroot build
|
||||
|
||||
# Clean out old tmp directory
|
||||
#
|
||||
-rm -rf debian/tmp
|
||||
install -d debian/tmp
|
||||
|
||||
# Install installation scripts
|
||||
#
|
||||
install -d debian/tmp/DEBIAN
|
||||
install -m 755 debian/postinst debian/tmp/DEBIAN/.
|
||||
install -m 755 debian/postrm debian/tmp/DEBIAN/.
|
||||
install -m 755 debian/prerm debian/tmp/DEBIAN/.
|
||||
|
||||
# Install docs in proper directory and gzip them
|
||||
#
|
||||
install -d debian/tmp/usr/share/doc/$(P)
|
||||
cp debian/changelog debian/tmp/usr/share/doc/$(P)/changelog.Debian
|
||||
cp DOC/ChangeLog debian/tmp/usr/share/doc/$(P)/changelog
|
||||
cp DOC/NEWS debian/tmp/usr/share/doc/$(P)/NEWS
|
||||
cp DOC/CREDITS debian/tmp/usr/share/doc/$(P)/CREDITS
|
||||
cp DOC/README debian/tmp/usr/share/doc/$(P)/README
|
||||
cp DOC/USAGE debian/tmp/usr/share/doc/$(P)/USAGE
|
||||
gzip -9v debian/tmp/usr/share/doc/$(P)/*
|
||||
|
||||
# These are too small to gzip
|
||||
#
|
||||
cp DOC/FAQ debian/tmp/usr/share/doc/$(P)/FAQ
|
||||
cp DOC/BUGS debian/tmp/usr/share/doc/$(P)/BUGS
|
||||
cp DOC/TODO debian/tmp/usr/share/doc/$(P)/TODO
|
||||
cp debian/README.Debian debian/tmp/usr/share/doc/$(P)/README.Debian
|
||||
cp debian/atari800.cfg debian/tmp/usr/share/doc/$(P)/atari800.cfg
|
||||
|
||||
|
||||
# and don't gzip the copyright statement
|
||||
#
|
||||
cp debian/copyright debian/tmp/usr/share/doc/$(P)/copyright
|
||||
|
||||
# install and gzip man page
|
||||
#
|
||||
install -d debian/tmp/usr/share/man/man1
|
||||
install -m 644 src/$(P).man debian/tmp/usr/share/man/man1/$(P).1
|
||||
gzip -9 debian/tmp/usr/share/man/man1/$(P).1
|
||||
|
||||
# install menu file
|
||||
#
|
||||
install -d debian/tmp/usr/share/menu
|
||||
install -m 644 debian/menu debian/tmp/usr/share/menu/$(P)
|
||||
|
||||
# install binaries
|
||||
#
|
||||
install -d debian/tmp/usr/bin
|
||||
install -s src/$(P) debian/tmp/usr/bin/$(P)
|
||||
|
||||
strip -R .comment -R .note -R .note.ABI-tag debian/tmp/usr/bin/$(P)
|
||||
|
||||
# (if [ "$(ARCH)" = "i386" ]; then install debian/$(P) debian/tmp/usr/bin; \
|
||||
# else install debian/$(P).alt debian/tmp/usr/bin/$(P); fi)
|
||||
|
||||
# Create dependency information
|
||||
#
|
||||
dpkg-shlibdeps src/$(P)
|
||||
|
||||
# Generate control file for the package
|
||||
#
|
||||
dpkg-gencontrol -p$(P) -isp
|
||||
|
||||
# Clean up file ownership
|
||||
#
|
||||
chown -R root.root debian/tmp
|
||||
|
||||
# and permissions
|
||||
#
|
||||
chmod -R g-ws debian/tmp
|
||||
|
||||
# and build the package
|
||||
#
|
||||
dpkg --build debian/tmp ..
|
||||
|
||||
define checkdir
|
||||
test -f ./atari800.spec
|
||||
endef
|
||||
|
||||
# Below here is fairly generic really
|
||||
checkroot:
|
||||
$(checkdir)
|
||||
test root = "`whoami`"
|
||||
|
||||
.PHONY: binary binary-arch binary-indep clean checkroot
|
||||
Reference in New Issue
Block a user