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

27 lines
811 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: 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/${_isim}/LICENSE -t "${PKG}"/usr/share/licenses/${isim}/
}