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

22 lines
591 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 tamsayı kütüphanesi
# URL: https://github.com/andrenth/ocaml-stdint
# Paketçi: milisarge
# Gerekler: ocamlbuild ocaml-findlib
# Grup: kütüphane
isim=ocaml-stdint
surum=0.5.0
devir=1
kaynak=(https://github.com/andrenth/ocaml-stdint/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd "$isim-$surum"
export OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)"
ocaml setup.ml -configure --destdir "${PKG}"
make all
mkdir -p "${OCAMLFIND_DESTDIR}"
export OCAMLFIND_LDCONF=FOOBAR
ocaml setup.ml -install --destdir "$PKG"
rm -r "$PKG/usr/local"
}