milis/talimatname/genel/o/ocaml-batteries/talimat

25 lines
865 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}