summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-10-15 23:55:48 +0200
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-10-16 09:32:01 +0200
commit5833a10ee2101e9385a8990fe39b8a9e2498204b (patch)
tree14d835c0c5b0ffde060e9456799cf51b23927306
downloaddebian-5833a10ee2101e9385a8990fe39b8a9e2498204b.tar.bz2
Initial packaging of lua-fifo by daurnimatorHEADmaster
-rw-r--r--changelog7
-rw-r--r--compat1
-rw-r--r--control18
-rw-r--r--copyright34
-rw-r--r--lua-fifo.manpages1
-rw-r--r--lua5.1.fifo.dh-lua.conf6
l---------lua5.2.fifo.dh-lua.conf1
l---------lua5.3.fifo.dh-lua.conf1
-rwxr-xr-xrules17
-rw-r--r--source/format1
-rw-r--r--watch2
11 files changed, 89 insertions, 0 deletions
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..642c713
--- /dev/null
+++ b/changelog
@@ -0,0 +1,7 @@
+lua-fifo (0.2-1) unstable; urgency=medium
+
+ * Initial packaging of fifo.lua
+ * Closes: #999999
+
+ -- Daniel Silverstone <dsilvers@digital-scurf.org> Fri, 16 Oct 2015 09:00:58 +0200
+
diff --git a/compat b/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+8
diff --git a/control b/control
new file mode 100644
index 0000000..fd72b19
--- /dev/null
+++ b/control
@@ -0,0 +1,18 @@
+Source: lua-fifo
+Section: interpreters
+Priority: optional
+Maintainer: Daniel Silverstone <dsilvers@digital-scurf.org>
+Build-Depends: debhelper (>= 8), dh-lua, pandoc
+Standards-Version: 3.9.6
+Homepage: https://github.com/daurnimator/fifo.lua/
+
+Package: lua-fifo
+Architecture: all
+Depends: ${misc:Depends}
+Provides: ${lua:Provides}
+XB-Lua-Versions: ${lua:Versions}
+Description: Lua implementation of a generic FIFO
+ fifo.lua is a generic FIFO implementation which is used by a number of
+ Lua libraries and programs.
+ .
+ fifo.lua is compatible with Lua 5.1, 5.2 and 5.3.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..16495cc
--- /dev/null
+++ b/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fifo.lua
+Source: https://github.com/daurnimator/fifo.lua/
+
+Files: *
+Copyright: Copyright (c) 2015 daurnimator
+License: MIT
+ Copyright (c) 2015 daurnimator
+ .
+ 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.
+
+Files: debian/*
+Copyright: Copyright 2015 Daniel Silverstone <dsilvers@digital-scurf.org>
+License: permissive
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
diff --git a/lua-fifo.manpages b/lua-fifo.manpages
new file mode 100644
index 0000000..fc8f53a
--- /dev/null
+++ b/lua-fifo.manpages
@@ -0,0 +1 @@
+fifo.lua.3
diff --git a/lua5.1.fifo.dh-lua.conf b/lua5.1.fifo.dh-lua.conf
new file mode 100644
index 0000000..a94c032
--- /dev/null
+++ b/lua5.1.fifo.dh-lua.conf
@@ -0,0 +1,6 @@
+PKG_NAME=fifo
+LUA_SOURCES=fifo.lua
+LUA_MODNAME=fifo
+# Can't run the tests right now since busted isn't packaged for Jessie
+
+
diff --git a/lua5.2.fifo.dh-lua.conf b/lua5.2.fifo.dh-lua.conf
new file mode 120000
index 0000000..c4893b3
--- /dev/null
+++ b/lua5.2.fifo.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.fifo.dh-lua.conf \ No newline at end of file
diff --git a/lua5.3.fifo.dh-lua.conf b/lua5.3.fifo.dh-lua.conf
new file mode 120000
index 0000000..c4893b3
--- /dev/null
+++ b/lua5.3.fifo.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.fifo.dh-lua.conf \ No newline at end of file
diff --git a/rules b/rules
new file mode 100755
index 0000000..635ae1d
--- /dev/null
+++ b/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_build:
+ dh_auto_build
+ pandoc doc/index.md -s -t man -o fifo.lua.3
+
+override_dh_auto_clean:
+ dh_auto_clean
+ $(RM) fifo.lua.3
+
+override_dh_compress:
+ #override because otherwise we get -X.lua which prevents the manpage
+ #from being compressed
+ dh_compress -O--buildsystem=lua
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644
index 0000000..2c1378a
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+# Currently upstream only releases versions by tagging their git repo
+# as such we cannot do anything useful for now.