Browse Source

Add source deb stuff

Bart van Strien 11 years ago
parent
commit
3c2e8ddd87

+ 0 - 11
platform/unix/debian

@@ -1,11 +0,0 @@
-Package: love
-Version: %VERSION%
-Section: games
-Priority: optional
-Architecture: %ARCHITECTURE%
-Essential: no
-Depends: libdevil1c2, libfreetype6, libgl1-mesa-glx, liblua5.1-0, libphysfs1, libsdl1.2debian, libopenal1, libogg0, libvorbis0a, libvorbisfile3, libmodplug0c2, libmpg123-0
-Installed-Size: %INSTALLSIZE%
-Maintainer: Bart van Strien [[email protected]]
-Provides: love
-Description: LOVE is a free 2D game engine which enables easy game creation in Lua.

+ 5 - 0
platform/unix/debian/changelog

@@ -0,0 +1,5 @@
+love (0.9.0~ppatest5) precise; urgency=medium
+
+  * Upstream testing release
+
+ -- Bart van Strien <[email protected]>  Sat, 2 Nov 2013 16:23:40 +0100

+ 1 - 0
platform/unix/debian/compat

@@ -0,0 +1 @@
+9

+ 58 - 0
platform/unix/debian/control

@@ -0,0 +1,58 @@
+Source: love
+Section: games
+Priority: extra
+Maintainer: Bart van Strien <[email protected]>
+Build-Depends: debhelper (>= 9),
+               autotools-dev,
+               libdevil-dev,
+               libfreetype6-dev,
+               libluajit-5.1-dev,
+               libphysfs-dev,
+               libsdl2-dev (>= 2.0.1),
+               libopenal-dev,
+               libogg-dev,
+               libvorbis-dev,
+               libflac-dev,
+               libflac++-dev,
+               libmodplug-dev,
+               libmpg123-dev,
+               libmng-dev
+Standards-Version: 3.9.3
+Homepage: http://love2d.org
+
+Package: liblove
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         libdevil1c2,
+         libmng1,
+         libfreetype6,
+         libgl1-mesa-glx,
+         libluajit-5.1-2,
+         libphysfs-1.0-0,
+         libsdl2 (>= 2.0.1),
+         libopenal1,
+         libogg0,
+         libvorbis0a,
+         libvorbisfile3,
+         libmodplug1,
+         libmpg123-0
+Description: LOVE is a free 2D game engine which enables easy game creation in Lua.
+
+Package: love
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+         liblove (= ${binary:Version})
+Description: LOVE is a free 2D game engine which enables easy game creation in Lua.
+
+Package: love-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+         love (= ${binary:Version}),
+Description: LOVE is a free 2D game engine which enables easy game creation in Lua.

+ 20 - 0
platform/unix/debian/copyright

@@ -0,0 +1,20 @@
+Copyright (c) 2006-2010 LOVE Development Team
+
+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.

+ 2 - 0
platform/unix/debian/docs

@@ -0,0 +1,2 @@
+changes.txt
+license.txt

+ 1 - 0
platform/unix/debian/liblove.install

@@ -0,0 +1 @@
+usr/lib/*/liblove.so.*

+ 1 - 0
platform/unix/debian/love.install

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

+ 1 - 0
platform/unix/debian/love.manpages

@@ -0,0 +1 @@
+platform/unix/love.1

+ 16 - 0
platform/unix/debian/rules

@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+override_dh_auto_configure:
+	dh_auto_configure -- CPPFLAGS=-I/usr/include/luajit-2.0 --with-lua=luajit-5.1
+
+override_dh_link:
+	dh_link -plove-dev usr/lib/$(DEB_HOST_MULTIARCH)/liblove.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/liblove.so
+
+override_dh_strip:
+	dh_strip --dbg-package=love-dbg
+
+%:
+	dh  $@ --parallel

+ 1 - 0
platform/unix/debian/source/format

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