talimat 865 B

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