summaryrefslogtreecommitdiff
path: root/p/haskell-hslua
diff options
context:
space:
mode:
Diffstat (limited to 'p/haskell-hslua')
-rw-r--r--p/haskell-hslua/debian/changelog5
-rw-r--r--p/haskell-hslua/debian/compat1
-rw-r--r--p/haskell-hslua/debian/control60
-rw-r--r--p/haskell-hslua/debian/copyright43
-rw-r--r--p/haskell-hslua/debian/patches/series1
-rw-r--r--p/haskell-hslua/debian/patches/system-lua.diff19
-rwxr-xr-xp/haskell-hslua/debian/rules6
-rw-r--r--p/haskell-hslua/debian/source/format1
-rw-r--r--p/haskell-hslua/debian/watch2
9 files changed, 138 insertions, 0 deletions
diff --git a/p/haskell-hslua/debian/changelog b/p/haskell-hslua/debian/changelog
new file mode 100644
index 000000000..433a95028
--- /dev/null
+++ b/p/haskell-hslua/debian/changelog
@@ -0,0 +1,5 @@
+haskell-hslua (0.3.8-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Clint Adams <clint@debian.org> Sat, 09 Nov 2013 14:54:33 -0500
diff --git a/p/haskell-hslua/debian/compat b/p/haskell-hslua/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/p/haskell-hslua/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/p/haskell-hslua/debian/control b/p/haskell-hslua/debian/control
new file mode 100644
index 000000000..adaf43dda
--- /dev/null
+++ b/p/haskell-hslua/debian/control
@@ -0,0 +1,60 @@
+Source: haskell-hslua
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Clint Adams <clint@debian.org>
+Build-Depends: debhelper (>= 9)
+ , cdbs
+ , haskell-devscripts (>= 0.8.15)
+ , ghc
+ , ghc-prof
+ , libghc-mtl-dev (>= 2.1)
+ , libghc-mtl-prof
+ , pkg-config
+ , liblua5.1-0-dev
+Build-Depends-Indep: ghc-doc
+ , libghc-mtl-doc
+Standards-Version: 3.9.5
+Homepage: http://hackage.haskell.org/package/hslua
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-hslua
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hslua
+X-Description: Lua language interpreter embedding in Haskell
+ The Scripting.Lua module is a wrapper of Lua language interpreter as
+ described in www.lua.org.
+
+Package: libghc-hslua-dev
+Architecture: any
+Depends: ${haskell:Depends}
+ , ${shlibs:Depends}
+ , ${misc:Depends}
+ , liblua5.1-0-dev
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-hslua-prof
+Architecture: any
+Depends: ${haskell:Depends}
+ , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-hslua-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${haskell:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
diff --git a/p/haskell-hslua/debian/copyright b/p/haskell-hslua/debian/copyright
new file mode 100644
index 000000000..c51c9eb19
--- /dev/null
+++ b/p/haskell-hslua/debian/copyright
@@ -0,0 +1,43 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hslua
+Upstream-Contact: Ömer Sinan Ağacan <omeragacan@gmail.com>
+Source: http://hackage.haskell.org/package/hslua
+
+Files: *
+Copyright: 2007-2012 Gracjan Polak
+License: Expat
+
+Files: src/*
+Copyright: 1994-2008 Lua.org, PUC-Rio
+License: Expat
+
+Files: src/Scripting/Lua/ConfigFile.hs
+Copyright: 2011, 2013 Benjamin Geer
+License: Expat
+
+Files: src/Scripting/Lua.hs
+Copyright: 2007 Gracjan Polak 2007
+License: Expat
+
+Files: debian/*
+Copyright: 2013 Clint Adams
+License: Expat
+
+License: Expat
+ 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/p/haskell-hslua/debian/patches/series b/p/haskell-hslua/debian/patches/series
new file mode 100644
index 000000000..6d0c5de74
--- /dev/null
+++ b/p/haskell-hslua/debian/patches/series
@@ -0,0 +1 @@
+system-lua.diff
diff --git a/p/haskell-hslua/debian/patches/system-lua.diff b/p/haskell-hslua/debian/patches/system-lua.diff
new file mode 100644
index 000000000..8d144d28f
--- /dev/null
+++ b/p/haskell-hslua/debian/patches/system-lua.diff
@@ -0,0 +1,19 @@
+--- a/hslua.cabal
++++ b/hslua.cabal
+@@ -23,14 +23,14 @@
+
+ flag system-lua
+ description: Use the system-wide lua instead of the bundled copy
+- default: False
++ default: True
+
+ Library
+ Build-depends: base==4.*, mtl >= 2.1
+ Exposed-modules: Scripting.Lua, Scripting.Lua.ConfigFile
+ Hs-source-dirs: src
+ if flag(system-lua)
+- Pkgconfig-depends: lua
++ Pkgconfig-depends: lua5.1
+ C-sources: cbits/ntrljmp.c
+ Include-dirs: cbits
+ else
diff --git a/p/haskell-hslua/debian/rules b/p/haskell-hslua/debian/rules
new file mode 100755
index 000000000..d730346e0
--- /dev/null
+++ b/p/haskell-hslua/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+# DEB_ENABLE_TESTS = yes
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff --git a/p/haskell-hslua/debian/source/format b/p/haskell-hslua/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/p/haskell-hslua/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-hslua/debian/watch b/p/haskell-hslua/debian/watch
new file mode 100644
index 000000000..993159742
--- /dev/null
+++ b/p/haskell-hslua/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/hslua/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))