Skip to content

Commit

Permalink
Fix packaging by installing required modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam authored and simonjbeaumont committed May 8, 2015
1 parent 310d3ad commit 7208b94
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
5 changes: 3 additions & 2 deletions _oasis
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion lib/pci.mldylib
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# OASIS_START
# DO NOT EDIT (digest: 2b2d21fff504cd15658b6a83899eb839)
# DO NOT EDIT (digest: d2230749e61478255d7ead6bab27e4eb)
Pci
Ffi_generated
Ffi_generated_types
# OASIS_STOP
4 changes: 3 additions & 1 deletion lib/pci.mllib
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# OASIS_START
# DO NOT EDIT (digest: 2b2d21fff504cd15658b6a83899eb839)
# DO NOT EDIT (digest: d2230749e61478255d7ead6bab27e4eb)
Pci
Ffi_generated
Ffi_generated_types
# OASIS_STOP
11 changes: 6 additions & 5 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 =
Expand Down Expand Up @@ -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 = []
Expand Down Expand Up @@ -7081,14 +7082,14 @@ 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
};;

let setup () = BaseSetup.setup setup_t;;

# 7093 "setup.ml"
# 7094 "setup.ml"
(* OASIS_STOP *)
let () = setup ();;

0 comments on commit 7208b94

Please sign in to comment.