Skip to content

Commit

Permalink
Merge pull request #197 from kc284/master
Browse files Browse the repository at this point in the history
CP-26401, CP-26402, CP-26404, CP-26405: Ported build from oasis to jbuilder.
  • Loading branch information
kc284 authored Jan 10, 2018
2 parents 0eded82 + 07ae3a5 commit 9cbc730
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 52 deletions.
21 changes: 7 additions & 14 deletions packages/xs-extra/xapi-netdev.master/opam
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
opam-version: "1.2"
name: "xapi-netdev"
maintainer: "[email protected]"
authors: "[email protected]"
license: "LGPL-2.1 with OCaml linking exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/netdev/issues"
dev-repo: "git://github.com/xapi-project/netdev.git"
build: [
["oasis" "setup"]
[make]
]
install: [
[make "install" "BINDIR=%{bin}%"]
]
remove: [
["ocamlfind" "remove" "netdev"]
]
build: [[ "jbuilder" "build" "-p" name "-j" jobs ]]
available: [ os = "linux" ]
depends: [
"ocamlfind"
"xapi-stdext"
"xapi-forkexecd"
"oasis" {build}
"jbuilder" {build}
"xapi-stdext-std"
"xapi-stdext-unix"
"forkexec"
]
20 changes: 9 additions & 11 deletions packages/xs-extra/xapi-plugin.master/opam
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
opam-version: "1"
opam-version: "1.2"
name: "xapi-plugin"
maintainer: "[email protected]"
build: [
[make]
[make "PREFIX=%{prefix}%" "install"]
]
remove: [
[make "PREFIX=%{prefix}%" "uninstall"]
["ocamlfind" "remove" "worker"]
]
authors: "[email protected]"
license: "LGPL-2.1 with OCaml linking exception"
homepage: "https://github.com/xapi-project/ocaml-xapi-plugin"
dev-repo: "https://github.com/xapi-project/ocaml-xapi-plugin.git"
bug-reports: "https://github.com/xapi-project/ocaml-xapi-plugin/issues"
build: [[ "jbuilder" "build" "-p" name "-j" jobs ]]
depends: [
"oasis" {build}
"ocamlbuild" {build}
"jbuilder" {build}
"base-unix"
"rpc"
]
17 changes: 4 additions & 13 deletions packages/xs-extra/xapi-storage-cli.master/opam
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
opam-version: "1.2"
name: "xapi-storage-cli"
maintainer: "[email protected]"
authors: [ "[email protected]" ]
license: "LGPL-2.1 with OCaml linking exception"
homepage: "https://github.com/xapi-project/sm-cli"
bug-reports: "https://github.com/xapi-project/sm-cli/issues"
dev-repo: "https://github.com/xapi-project/sm-cli.git"
build: [
["oasis" "setup"]
["./configure" "--bindir" "%{bin}%"]
[make]
]
install: [
[make "install"]
]
remove: [
["oasis" "setup"]
[make "uninstall"]
]
build: [[ "jbuilder" "build" "-p" name "-j" jobs ]]
depends: [
"oasis" {build}
"jbuilder" {build}
"base-threads"
"xapi-idl"
"re"
Expand Down
22 changes: 8 additions & 14 deletions packages/xs-extra/xapi-tapctl.master/opam
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
opam-version: "1.2"
maintainer: "[email protected]"
name: "xapi-tapctl"
maintainer: "[email protected]"
authors: "[email protected]"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/tapctl/issues"
dev-repo: "git://github.com/xapi-project/tapctl.git"
tags: [ "org:xapi-project" ]
build: [
["oasis" "setup"]
[make]
]
install: [
[make "install" "BINDIR=%{bin}%"]
]
remove: [
["ocamlfind" "remove" "tapctl"]
]
build: [[ "jbuilder" "build" "-p" name "-j" jobs ]]
depends: [
"ocamlfind" {build}
"oasis" {build}
"xapi-stdext" {>= "2.0.0"}
"jbuilder" {build}
"xapi-stdext-unix"
"xapi-stdext-std"
"xapi-stdext-threads"
"xapi-stdext-monadic"
"xapi-forkexecd"
"rpc"
"base-threads"
Expand Down

0 comments on commit 9cbc730

Please sign in to comment.