12345678910111213141516171819202122232425 |
- # Tanım: OCaml için kapsamlı bir standart kütüphane
- # URL: https://forge.ocamlcore.org/projects/batteries/
- # Paketçi: Cihan_Alkan
- # Gerekler: ocaml-findlib ocamlbuild ocaml
- # Grup: kütüphane
- isim=ocaml-batteries
- surum=2.8.0
- devir=1
- kaynak=(https://github.com/ocaml-batteries-team/batteries-included/archive/v${surum}.tar.gz)
- derle() {
- cd $SRC/${isim/ocaml-/}-included-$surum
- make all || return 1
- rm -f *.cma *.cmi *.cmo
- make doc || return 1
- mkdir -p $PKG/$(ocamlfind printconf destdir)/batteries $PKG/$(ocamlfind printconf destdir)/stublibs || return 1
- make DESTDIR=$PKG/$(ocamlfind printconf destdir)/ OCAMLFIND_DESTDIR=$PKG/$(ocamlfind printconf destdir)/ install || return 1
- make DOCROOT=$PKG/usr/share/doc/ocaml-batteries/ install-doc || return 1
- install -Dm 644 ocamlinit $PKG/usr/share/doc/ocaml-batteries/ocamlinit || return 1
- }
|