File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
packages/libnlopt/libnlopt.2.7.1 Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ authors: "https://github.com/stevengj/nlopt/blob/master/AUTHORS"
3
+ homepage: "https://nlopt.readthedocs.io/en/latest/"
4
+
5
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
6
+ license: "LGPL-2.1-or-later"
7
+ build: [
8
+ ["mkdir" "build"]
9
+ ["sh" "-c" "cd build && %{conf-cmake:cmd}% -Wno-dev -DCMAKE_INSTALL_PREFIX=%{lib}% ../"]
10
+ [make "-C" "build" "-j" jobs]
11
+ ]
12
+ install: [
13
+ [make "-C" "build" "install"]
14
+ ]
15
+ depends: [
16
+ "conf-cmake"
17
+ ]
18
+ available: os != "win32"
19
+ synopsis: "User-space installer for the NLopt library"
20
+ description: """
21
+ Attempt a user-space installation of NLopt.
22
+ If successful, libnlopt will be installed
23
+ into opam's lib directory.
24
+ Note: NLopt is a C++ library which is required by some OCaml
25
+ software in opam-repository.
26
+ Having an automatic user-space installer in opam-repos. will make those
27
+ software easier to install (e.g. even if you don't have root access
28
+ to install the corresponding system package).
29
+ """
30
+ dev-repo: "git://https://github.com/stevengj/nlopt.git"
31
+ url {
32
+ src: "https://github.com/stevengj/nlopt/archive/refs/tags/v2.7.1.tar.gz"
33
+ checksum: [
34
+ "sha256=db88232fa5cef0ff6e39943fc63ab6074208831dc0031cf1545f6ecd31ae2a1a"
35
+ ]
36
+ }
You can’t perform that action at this time.
0 commit comments