Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : ocaml | name : ocaml | ||||
| version : 4.04.0 | version : 4.04.2 | ||||
| release : 3 | release : 4 | ||||
| homepage : http://ocaml.org/ | homepage : http://ocaml.org/ | ||||
| source : | source : | ||||
| - http://caml.inria.fr/distrib/ocaml-4.04/ocaml-4.04.0.tar.xz : 64ed6dad2316d5dff7440cea89f0f0abe07ce508b9104d1bfadf3782e79856b4 | - http://caml.inria.fr/pub/distrib/ocaml-4.04/ocaml-4.04.2.tar.xz : d158ed3e9446b300554baeaaa8cca2e9491420b505a9878940205074e2970f2e | ||||
| license : | license : | ||||
| - QPL-1.0 | - QPL-1.0 | ||||
| - GPL-2.0 | - GPL-2.0 | ||||
| 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 | ||||
| component : programming | component : programming | ||||
| patterns : | patters: | ||||
| - /usr/* | - usr/* | ||||
| builddeps: | builddeps: | ||||
| - pkgconfig(x11) | - pkgconfig(x11) | ||||
| setup : | | setup : | | ||||
| ./configure -prefix /usr \ | ./configure -prefix /usr \ | ||||
| -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.