diff --git a/Bindings/MMap.hsc b/Bindings/MMap.hsc
new file mode 100644
--- /dev/null
+++ b/Bindings/MMap.hsc
@@ -0,0 +1,30 @@
+{-# LANGUAGE ForeignFunctionInterface #-}
+#include <bindings.dsl.h>
+#include <sys/mman.h>
+-- | Bindings for MMap on POSIX, wrapping:
+--   <file:///usr/include/sys/mman.h>
+module Bindings.MMap where
+#strict_import
+import System.Posix.Types (COff)
+#ccall mmap , Ptr () -> CSize -> CInt -> CInt -> CInt -> COff -> IO (Ptr ())
+#ccall munmap , Ptr () -> CSize -> IO CInt
+#num PROT_EXEC
+#num PROT_READ
+#num PROT_WRITE
+#num PROT_NONE
+#num MAP_SHARED
+#num MAP_PRIVATE
+#num MAP_32BIT
+#num MAP_ANON
+#num MAP_ANONYMOUS
+#num MAP_DENYWRITE
+#num MAP_EXECUTABLE
+#num MAP_FILE
+#num MAP_FIXED
+#num MAP_GROWSDOWN
+#num MAP_LOCKED
+#num MAP_NONBLOCK
+#num MAP_NORESERVE
+#num MAP_POPULATE
+#num MAP_STACK
+#num MAP_FAILED
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,30 @@
+Copyright (c)2011, Claude Heiland-Allen
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+    * Neither the name of Claude Heiland-Allen nor the names of other
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/bindings-mmap.cabal b/bindings-mmap.cabal
new file mode 100644
--- /dev/null
+++ b/bindings-mmap.cabal
@@ -0,0 +1,25 @@
+Name:                bindings-mmap
+Version:             0.1
+Synopsis:            bindings to mmap for Linux
+
+Description:
+  Bindings to mmap for POSIX, wrapping:
+  <file:///usr/include/sys/mmap.h>
+
+Homepage:            https://gitorious.org/hsv4l2
+License:             BSD3
+License-file:        LICENSE
+Author:              Claude Heiland-Allen
+Maintainer:          claudiusmaximus@goto10.org
+Category:            System
+
+Build-type:          Simple
+
+Cabal-version:       >=1.2
+
+Library
+  Exposed-modules:     Bindings.MMap
+  Build-depends:
+    base >= 3 && < 5,
+    bindings-DSL >= 1.0.7 && < 1.1
+  Build-tools:         hsc2hs
