22 lines
591 B
Plaintext
22 lines
591 B
Plaintext
# 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"
|
||
}
|