2018-04-16 01:41:33 +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
|
2018-04-16 01:49:34 +02:00
|
|
|
|
surum=0.5.0
|
2018-04-16 01:41:33 +02:00
|
|
|
|
devir=1
|
2018-04-16 01:46:55 +02:00
|
|
|
|
kaynak=(https://github.com/andrenth/ocaml-stdint/archive/$surum.tar.gz::$isim-$surum.tar.gz)
|
2018-04-16 01:41:33 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
2018-04-16 01:46:55 +02:00
|
|
|
|
cd "$isim-$surum"
|
2018-04-16 01:41:33 +02:00
|
|
|
|
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"
|
|
|
|
|
}
|