[SCM] bam packaging branch, master, updated. f6b9589881cd12b3f9b16ef1755ae9e63414f37d

Gonéri Le Bouder goneri at rulezlan.org
Sat Apr 11 21:21:08 UTC 2009


The following commit has been merged in the master branch:
commit f6b9589881cd12b3f9b16ef1755ae9e63414f37d
Author: Gonéri Le Bouder <goneri at rulezlan.org>
Date:   Sat Apr 11 22:59:02 2009 +0200

    import of the Debian files

diff --git a/debian/bam.1 b/debian/bam.1
new file mode 100644
index 0000000..75c849b
--- /dev/null
+++ b/debian/bam.1
@@ -0,0 +1,47 @@
+.TH BAM 1
+.SH NAME
+bam \- A fast and flexible build system
+.SH SYNOPSIS
+.B bam \-
+[options]
+.SH DESCRIPTION
+Bam uses Lua to describe the build process. It's takes its inspiration for
+the script files from scons. While scons focuses on being 100% correct when
+building, bam makes a few sacrifices to acquire fast full and incremental
+build times. 
+.SH OPTIONS
+.TP
+.B \-c
+Clean. Removes all output files for the specified targets
+.TP
+.B \-f
+Force. Forces all files to be dirty and causes a complete rebuild.
+.TP
+.B \-b filename
+Base script. Specifices the base script to use instead of the builtin.
+.TP
+.B \-s filename
+Script. Specifices the bam file to use.
+.TP
+.B \-j X
+Use X threads when building. (EXPRIMENTAL!)
+.TP
+.B \-v
+Verbose. Prints all commands that bam executes.
+.TP
+.B \-\-dry
+Dry run. Does not do anything except load the scripts. Don't build any targets.
+
+.SH SEE ALSO
+On your system:
+.I /usr/share/doc/bam 
+
+Homepage at:
+.I http://teeworlds.com/trac/bam/wiki 
+
+Please report all bugs to the Debian Bug Tracking System (see: 
+.IR http://www.debian.org/Bugs ) 
+
+.SH AUTHORS
+.I Magnus Auvinen
+Magnus Auvinen (C) 2008
diff --git a/debian/bam.docs b/debian/bam.docs
new file mode 100644
index 0000000..a188e06
--- /dev/null
+++ b/debian/bam.docs
@@ -0,0 +1 @@
+docs/*
diff --git a/debian/bam.install b/debian/bam.install
new file mode 100644
index 0000000..5032b68
--- /dev/null
+++ b/debian/bam.install
@@ -0,0 +1 @@
+src/bam usr/bin
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..837dfec
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,21 @@
+bam (0.2.0-3) unstable; urgency=low
+
+  * Add fixes/bus-error-SPARC (Closes: #522571)
+  * Standard Version 3.8.1, no change
+  * Clean the .pc directory
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Sun, 05 Apr 2009 01:46:19 +0200
+
+bam (0.2.0-2) unstable; urgency=low
+
+  * Builddepends on liblua5.1-0-dev, don't use the
+    embedded lua directory anymore 
+  * Builddeps on quilt and pkg-config 
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Sat, 24 Jan 2009 12:24:18 +0100
+
+bam (0.2.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #512806)
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Fri, 23 Jan 2009 23:57:33 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4255f9b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: bam
+Section: devel
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Gonéri Le Bouder <goneri at rulezlan.org>
+Build-Depends: debhelper (>= 5), python, liblua5.1-0-dev, quilt, pkg-config
+Standards-Version: 3.8.1
+Homepage: http://teeworlds.com/trac/bam/wiki/WikiStart
+Vcs-Git: git://git.debian.org/pkg-games/bam.git
+Vcs-Browser: http://git.debian.org/?p=pkg-games/bam.git
+
+Package: bam
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A fast and flexible build system 
+ Bam uses Lua to describe the build process. It's takes its inspiration for
+ the script files from scons. While scons focuses on being 100% correct when
+ building, bam makes a few sacrifices to acquire fast full and incremental
+ build times.  
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2c9c8a7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,63 @@
+This package was debianized by Gonéri Le Bouder <goneri at rulezlan.org> on
+Fri, 23 Jan 2009 23:51:55 +0100
+
+It was downloaded from http://teeworlds.com/trac/bam/wiki/WikiStart 
+
+
+Copyright: 
+
+Copyright (C) 2008 Magnus Auvinen
+
+License:
+This software is provided 'as-is', without any express 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.
+
+src/lua is a copy of lua:
+Lua License
+-----------
+
+Lua is licensed under the terms of the MIT license reproduced below.
+This means that Lua is free software and can be used for both academic
+and commercial purposes at absolutely no cost.
+
+For details and rationale, see http://www.lua.org/license.html .
+
+===============================================================================
+
+Copyright (C) 1994-2008 Lua.org, PUC-Rio.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..97f0d27
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+-include /usr/share/topgit/tg2quilt.mk
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+
+build: build-stamp
+build-stamp: patch
+	dh_testdir
+	./make_unix.sh
+	python scripts/gendocs.py
+	touch build-stamp
+	
+
+clean: unpatch
+	dh_testdir
+	rm -rf .pc
+	dh_clean build-stamp docs/bam.html src/bam src/internal_base.h src/tools/txt2c 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean
+	dh_installdirs
+	dh_install
+
+
+# Build architecture-independent files here.
+binary-indep: install
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installman debian/bam.1
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-arch binary-indep
+
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5b2f3c2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://teeworlds.com/trac/bam/browser/releases/ bam-([\d\.]+).tar.gz

-- 
bam packaging



More information about the Pkg-games-commits mailing list