···11+opam-version: "2.0"
22+authors: "https://github.com/stevengj/nlopt/blob/master/AUTHORS"
33+homepage: "https://nlopt.readthedocs.io/en/latest/"
44+maintainer: "unixjunkie@sdf.org"
55+bug-reports: "https://github.com/ocaml/opam-repository/issues"
66+license: "LGPL-2.1-or-later"
77+build: [
88+ ["mkdir" "build"]
99+ ["sh" "-c" "cd build && %{conf-cmake:cmd}% -Wno-dev -DCMAKE_INSTALL_PREFIX=%{lib}% ../"]
1010+ [make "-C" "build" "-j" jobs]
1111+]
1212+install: [
1313+ [make "-C" "build" "install"]
1414+]
1515+depends: [
1616+ "conf-cmake"
1717+]
1818+available: os != "win32"
1919+synopsis: "User-space installer for the NLopt library"
2020+description: """
2121+Attempt a user-space installation of NLopt.
2222+If successful, libnlopt will be installed
2323+into opam's lib directory.
2424+Note: NLopt is a C++ library which is required by some OCaml
2525+software in opam-repository.
2626+Having an automatic user-space installer in opam-repos. will make those
2727+software easier to install (e.g. even if you don't have root access
2828+to install the corresponding system package).
2929+"""
3030+dev-repo: "git://https://github.com/stevengj/nlopt.git"
3131+url {
3232+ src: "https://github.com/stevengj/nlopt/archive/refs/tags/v2.7.1.tar.gz"
3333+ checksum: [
3434+ "sha256=db88232fa5cef0ff6e39943fc63ab6074208831dc0031cf1545f6ecd31ae2a1a"
3535+ ]
3636+}