From 7208b94cd4f760649945eb0e3573006456194078 Mon Sep 17 00:00:00 2001 From: Jon Ludlam Date: Fri, 8 May 2015 16:49:45 +0000 Subject: [PATCH] Fix packaging by installing required modules --- _oasis | 5 +++-- lib/pci.mldylib | 4 +++- lib/pci.mllib | 4 +++- setup.ml | 11 ++++++----- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/_oasis b/_oasis index 8e99f80..53c2ff1 100644 --- a/_oasis +++ b/_oasis @@ -1,6 +1,6 @@ OASISFormat: 0.4 Name: pci -Version: 0.2.0 +Version: 0.1.2 Synopsis: Ctypes bindings to libpci for OCaml Authors: Si Beaumont License: LGPL-2.1 with OCaml linking exception @@ -11,13 +11,14 @@ Library pci Path: lib FindlibName: pci Modules: Pci + InternalModules: Ffi_generated, Ffi_generated_types CSources: ffi_generated_stubs.c CCLib: -lpci CCOpt: -I $pkg_ctypes_stubs BuildDepends: pci_bindings, ctypes.stubs Library pci_bindings - Install: false + Install: true Path: bindings Modules: Ffi_bindings BuildDepends: ctypes.stubs diff --git a/lib/pci.mldylib b/lib/pci.mldylib index ad90188..c7244f4 100644 --- a/lib/pci.mldylib +++ b/lib/pci.mldylib @@ -1,4 +1,6 @@ # OASIS_START -# DO NOT EDIT (digest: 2b2d21fff504cd15658b6a83899eb839) +# DO NOT EDIT (digest: d2230749e61478255d7ead6bab27e4eb) Pci +Ffi_generated +Ffi_generated_types # OASIS_STOP diff --git a/lib/pci.mllib b/lib/pci.mllib index ad90188..c7244f4 100644 --- a/lib/pci.mllib +++ b/lib/pci.mllib @@ -1,4 +1,6 @@ # OASIS_START -# DO NOT EDIT (digest: 2b2d21fff504cd15658b6a83899eb839) +# DO NOT EDIT (digest: d2230749e61478255d7ead6bab27e4eb) Pci +Ffi_generated +Ffi_generated_types # OASIS_STOP diff --git a/setup.ml b/setup.ml index 124ea34..2fb6dc2 100644 --- a/setup.ml +++ b/setup.ml @@ -1,7 +1,7 @@ (* setup.ml generated for the first time by OASIS v0.4.5 *) (* OASIS_START *) -(* DO NOT EDIT (digest: d2214a90c0c51f6d19f8581856db25c0) *) +(* DO NOT EDIT (digest: d497347efb83540e9588f5f5581dd5ff) *) (* Regenerated by OASIS v0.4.5 Visit http://oasis.forge.ocamlcore.org for more information and @@ -6912,7 +6912,7 @@ let setup_t = }, { bs_build = [(OASISExpr.EBool true, true)]; - bs_install = [(OASISExpr.EBool true, false)]; + bs_install = [(OASISExpr.EBool true, true)]; bs_path = "bindings"; bs_compiled_object = Best; bs_build_depends = @@ -6968,7 +6968,8 @@ let setup_t = { lib_modules = ["Pci"]; lib_pack = false; - lib_internal_modules = []; + lib_internal_modules = + ["Ffi_generated"; "Ffi_generated_types"]; lib_findlib_parent = None; lib_findlib_name = Some "pci"; lib_findlib_containers = [] @@ -7081,7 +7082,7 @@ let setup_t = }; oasis_fn = Some "_oasis"; oasis_version = "0.4.5"; - oasis_digest = Some "{\192\146\173\011\128\239v\030e\243A\001C\240q"; + oasis_digest = Some "e\006~G\229\203\193\003D\178\212\220\018\242[\159"; oasis_exec = None; oasis_setup_args = []; setup_update = false @@ -7089,6 +7090,6 @@ let setup_t = let setup () = BaseSetup.setup setup_t;; -# 7093 "setup.ml" +# 7094 "setup.ml" (* OASIS_STOP *) let () = setup ();;