talimat 591 B

12345678910111213141516171819202122
  1. # Tanım: ocaml tamsayı kütüphanesi
  2. # URL: https://github.com/andrenth/ocaml-stdint
  3. # Paketçi: milisarge
  4. # Gerekler: ocamlbuild ocaml-findlib
  5. # Grup: kütüphane
  6. isim=ocaml-stdint
  7. surum=0.5.0
  8. devir=1
  9. kaynak=(https://github.com/andrenth/ocaml-stdint/archive/$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd "$isim-$surum"
  12. export OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)"
  13. ocaml setup.ml -configure --destdir "${PKG}"
  14. make all
  15. mkdir -p "${OCAMLFIND_DESTDIR}"
  16. export OCAMLFIND_LDCONF=FOOBAR
  17. ocaml setup.ml -install --destdir "$PKG"
  18. rm -r "$PKG/usr/local"
  19. }