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

28 lines
737 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/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}/
}