Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : ocaml | name : ocaml | ||||
| version : 4.06.1 | version : 4.07.0 | ||||
| release : 7 | release : 8 | ||||
| homepage : http://ocaml.org/ | homepage : http://ocaml.org/ | ||||
| source : | source : | ||||
| - http://caml.inria.fr/pub/distrib/ocaml-4.06/ocaml-4.06.1.tar.xz : 6f07e0364fb8da008d51264c820b30648f6a4bfd9a9b83709ed634adddf377d8 | - http://caml.inria.fr/pub/distrib/ocaml-4.07/ocaml-4.07.0.tar.xz : f45bf720aadf5c6408400d5179b92ea7130b7e55e501a1768c2d136ef69f9f0f | ||||
| license : | license : | ||||
| - QPL-1.0 | - QPL-1.0 | ||||
| - GPL-2.0 | - GPL-2.0 | ||||
| component : programming | component : programming | ||||
| summary : A functional language with OO extensions | summary : A functional language with OO extensions | ||||
| description: | | description: | | ||||
| OCaml is an industrial strength programming language supporting functional, imperative and object-oriented styles | OCaml is an industrial strength programming language supporting functional, imperative and object-oriented styles | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(x11) | - pkgconfig(x11) | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/security/cve-2018-9838.patch | |||||
| ./configure -prefix /usr \ | ./configure -prefix /usr \ | ||||
| -libdir %libdir%/ocaml \ | -libdir %libdir%/ocaml \ | ||||
| -mandir /usr/share/man | -mandir /usr/share/man | ||||
| build : | | build : | | ||||
| %make world.opt | %make world.opt | ||||
| install : | | install : | | ||||
| %make_install | %make_install | ||||
| export compiler_libs="$installdir/%libdir%/ocaml/compiler-libs" | export compiler_libs="$installdir/%libdir%/ocaml/compiler-libs" | ||||
| mkdir -p "$compiler_libs"/{parsing,typing,utils} | mkdir -p "$compiler_libs"/{parsing,typing,utils} | ||||
| cp parsing/*.{cmi,cmo,cmx,ml,mli,mll,o} "$compiler_libs"/parsing | cp parsing/*.{cmi,cmo,cmx,ml,mli,mll,o} "$compiler_libs"/parsing | ||||
| cp typing/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/typing | cp typing/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/typing | ||||
| cp utils/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/utils | cp utils/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/utils | ||||
| rm -f "$compiler_libs"/typing/outcometree.{cmi,mli} | rm -f "$compiler_libs"/typing/outcometree.{cmi,mli} | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.