ocaml-kutuphaneleri
This commit is contained in:
parent
1d314dc93f
commit
f1d21fafee
6 changed files with 140 additions and 0 deletions
24
talimatname/genel/o/ocaml-batteries/talimat
Normal file
24
talimatname/genel/o/ocaml-batteries/talimat
Normal file
|
@ -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
|
||||||
|
|
||||||
|
}
|
27
talimatname/genel/o/ocaml-biniou/talimat
Normal file
27
talimatname/genel/o/ocaml-biniou/talimat
Normal file
|
@ -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}/
|
||||||
|
}
|
26
talimatname/genel/o/ocaml-easy-format/talimat
Normal file
26
talimatname/genel/o/ocaml-easy-format/talimat
Normal file
|
@ -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}/
|
||||||
|
}
|
18
talimatname/genel/o/ocaml-menhir/talimat
Normal file
18
talimatname/genel/o/ocaml-menhir/talimat
Normal file
|
@ -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
|
||||||
|
}
|
19
talimatname/genel/o/ocaml-pprint/talimat
Normal file
19
talimatname/genel/o/ocaml-pprint/talimat
Normal file
|
@ -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
|
||||||
|
}
|
26
talimatname/genel/o/ocaml-yojson/talimat
Normal file
26
talimatname/genel/o/ocaml-yojson/talimat
Normal file
|
@ -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}/
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue