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

22 lines
591 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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"
}