Added Debian build scripts.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1358 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2007-08-24 14:52:41 +00:00
parent 4f9b1fdf61
commit 9e8d75fff5
8 changed files with 133 additions and 0 deletions

6
stella/debian/changelog Normal file
View File

@ -0,0 +1,6 @@
stella (2.4-1) unstable; urgency=low
* Test compile
-- Stephen Anthony <stephena@users.sf.net> Fri, 24 Aug 2007 18:38:25 +0200

1
stella/debian/compat Normal file
View File

@ -0,0 +1 @@
5

17
stella/debian/control Normal file
View File

@ -0,0 +1,17 @@
Source: stella
Section: games
Priority: optional
Maintainer: Stephen Anthony <stephena@users.sourceforge.net>
Standards-Version: 3.7.2
Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev, zlib1g-dev
Package: stella
Architecture: any
Depends: ${shlibs:Depends}
Description: Atari 2600 Emulator for SDL & X windows
The Atari 2600 Video Computer System (VCS), introduced in 1977, was
the most popular home video game system of the early 1980's. This
emulator will run most Atari ROM images, so that you can play your
favorite old Atari 2600 games on your PC.
.
Homepage: http://stella.sf.net/

29
stella/debian/copyright Normal file
View File

@ -0,0 +1,29 @@
This package was debianized first by Tom Lear <tom@ticking.accesscom.com> on
Thu, 7 Oct 1999 08:57:16 -0700.
It was downloaded from <http://stella.sourceforge.net>
Copyright Holder(s): Bradford W. Mott <bwmott@acm.org> and the Stella team
License:
Copyright (C) 1995-2007 Bradford W. Mott <bwmott@acm.org>
and the Stella team
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.

1
stella/debian/dirs Normal file
View File

@ -0,0 +1 @@
usr/bin

7
stella/debian/docs Normal file
View File

@ -0,0 +1,7 @@
Announce.txt
Changes.txt
Copyright.txt
README-SDL.txt
Readme.txt
docs/*
Todo.txt

70
stella/debian/rules Executable file
View File

@ -0,0 +1,70 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
CFLAGS = -Wall
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CXXFLAGS += -O0
else
CXXFLAGS += -O2
endif
config.status: configure
dh_testdir
CXXFLAGS="$(CXXFLAGS)" ./configure --prefix=/usr
build: build-stamp
build-stamp: config.status
dh_testdir
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-$(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/stella
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs Changes.txt
dh_installdocs
dh_installmenu
# dh_installman $(CURDIR)/debian/stella.6
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

2
stella/debian/watch Normal file
View File

@ -0,0 +1,2 @@
version=3
http://sf.net/stella/stella-(.*)-src\.tar\.gz