diff --git a/talimatname/genel/o/ocaml-batteries/talimat b/talimatname/genel/o/ocaml-batteries/talimat new file mode 100644 index 000000000..f1b66a526 --- /dev/null +++ b/talimatname/genel/o/ocaml-batteries/talimat @@ -0,0 +1,24 @@ +# 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 + +} diff --git a/talimatname/genel/o/ocaml-biniou/talimat b/talimatname/genel/o/ocaml-biniou/talimat new file mode 100644 index 000000000..ae4d44abe --- /dev/null +++ b/talimatname/genel/o/ocaml-biniou/talimat @@ -0,0 +1,27 @@ +# Tanım: JSON için optimize edilmiş bir ayrıştırma ve baskı kitaplığı +# URL: https://github.com/mjambon/biniou +# Paketçi: Cihan_Alkan +# Gerekler: ocaml-findlib dune opam ocaml-easy-format +# Grup: kütüphane + +_pkgname=biniou +isim=ocaml-biniou +surum=1.2.0 +devir=1 +kaynak=(https://github.com/mjambon/biniou/archive/v$surum.tar.gz::${isim}-${surum}.tar.gz) + +derle() { + + cd biniou-${surum} + make all + + # Initialize OPAM + export OPAMROOT="${SRC}"/opam + opam init -n + + # Work around missing install command + OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)" jbuilder install + + # Install LICENSE + install -Dm644 "${SRC}"/opam/system/doc/${_pkgname}/LICENSE -t "${PKG}"/usr/share/licenses/${isim}/ +} diff --git a/talimatname/genel/o/ocaml-easy-format/talimat b/talimatname/genel/o/ocaml-easy-format/talimat new file mode 100644 index 000000000..7c9118c21 --- /dev/null +++ b/talimatname/genel/o/ocaml-easy-format/talimat @@ -0,0 +1,26 @@ +# Tanım: JSON için optimize edilmiş bir ayrıştırma ve baskı kitaplığı +# URL: https://github.com/mjambon/easy-format +# Paketçi: Cihan_Alkan +# Gerekler: glibc dune ocaml-findlib opam +# Grup: kütüphane + +isim=ocaml-easy-format +surum=1.3.1 +devir=1 +kaynak=(https://github.com/mjambon/easy-format/archive/v$surum.tar.gz::${isim}-${surum}.tar.gz) + +derle() { + + cd easy-format-${surum} + make all + + # Initialize OPAM + export OPAMROOT="${SRC}"/opam + opam init -n + + # Work around missing install command + OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)" jbuilder install + + # Install LICENSE + install -Dm644 "${SRC}"/opam/system/doc/easy-format/LICENSE -t "${PKG}"/usr/share/licenses/${isim}/ +} diff --git a/talimatname/genel/o/ocaml-menhir/talimat b/talimatname/genel/o/ocaml-menhir/talimat new file mode 100644 index 000000000..dae08a6c1 --- /dev/null +++ b/talimatname/genel/o/ocaml-menhir/talimat @@ -0,0 +1,18 @@ +# Tanım: Menhir, OCaml için bir LR (1) ayrıştırıcı üreticisidir. +# URL: http://cristal.inria.fr/~fpottier/menhir/ +# Paketçi: Cihan_Alkan +# Gerekler: ocaml ocaml-findlib ocamlbuild +# Grup: programlama + +isim=ocaml-menhir +surum=20171222 +devir=1 +kaynak=(http://cristal.inria.fr/~fpottier/menhir/menhir-$surum.tar.gz) + +derle() { + cd "$SRC/${isim/ocaml-/}-$surum" + make PREFIX="/usr" all + export OCAMLFIND_DESTDIR="$PKG$(ocamlfind printconf destdir)" + install -dm 755 "$OCAMLFIND_DESTDIR" + make PREFIX="$PKG/usr" install +} diff --git a/talimatname/genel/o/ocaml-pprint/talimat b/talimatname/genel/o/ocaml-pprint/talimat new file mode 100644 index 000000000..4fa5ef7aa --- /dev/null +++ b/talimatname/genel/o/ocaml-pprint/talimat @@ -0,0 +1,19 @@ +# Tanım: Wadler'in ve Leijen'in daha güzel yazıcısının bir OCaml uyarlaması. +# URL: http://gallium.inria.fr/~fpottier/pprint/doc/PPrint.OCaml.html +# Paketçi: Cihan_Alkan +# Gerekler: ocaml-findlib ocamlbuild +# Grup: kütüphane + +isim=ocaml-pprint +surum=20171003 +devir=1 +_oname=pprint +kaynak=(http://gallium.inria.fr/~fpottier/${_oname}/${_oname}-${surum}.tar.gz) + +derle() { + cd "$SRC/$_oname-$surum" + make -C src + export OCAMLFIND_DESTDIR="$PKG$(ocamlfind printconf destdir)" + install -dm 755 "$OCAMLFIND_DESTDIR" + make -C src install +} diff --git a/talimatname/genel/o/ocaml-yojson/talimat b/talimatname/genel/o/ocaml-yojson/talimat new file mode 100644 index 000000000..daa534edc --- /dev/null +++ b/talimatname/genel/o/ocaml-yojson/talimat @@ -0,0 +1,26 @@ +# Tanım: JSON için optimize edilmiş bir ayrıştırma ve baskı kitaplığı +# URL: https://github.com/mjambon/yojson +# Paketçi: Cihan_Alkan +# Gerekler: ocaml-findlib ocamlbuild dune ocaml-easy-format cppo ocaml-biniou +# Grup: kütüphane + +_isim=yojson +isim=ocaml-yojson +surum=1.4.1 +devir=1 +kaynak=(https://github.com/mjambon/yojson/archive/v${surum}.tar.gz::${isim}-${surum}.tar.gz) + +derle() { + cd ${_isim}-${surum} + make all + + # Initialize OPAM, this should be removed once opam is “removed” from dune + export OPAMROOT="${SRC}"/opam + opam init -n + + # Work around the install command + make OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)" install + + # Install LICENSE + install -Dm644 "${SRC}"/opam/system/doc/${_pkgname}/LICENSE -t "${PKG}"/usr/share/licenses/${isim}/ +}