2018-04-16 01:24:54 +02:00
|
|
|
|
# Tanım: Rasgele kesinlikli tamsayılar ve rasyonel sayılar üzerinde aritmetik ve mantıksal işlemleri uygular
|
|
|
|
|
# URL: https://github.com/ocaml/Zarith
|
|
|
|
|
# Paketçi: Cihan_Alkan
|
|
|
|
|
# Gerekler: ocaml-findlib ocaml
|
|
|
|
|
# Grup: kütüphane
|
|
|
|
|
|
|
|
|
|
isim=zarith
|
|
|
|
|
surum=1.7
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/ocaml/Zarith/archive/release-${surum}.tar.gz::$isim-$surum.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
|
|
|
|
|
cd Zarith-release-${surum}
|
|
|
|
|
|
2018-04-16 01:36:57 +02:00
|
|
|
|
./configure -installdir "${PKG}/usr/lib/ocaml/site-lib/" # install ignores DESTDIR
|
2018-04-16 01:24:54 +02:00
|
|
|
|
make
|
|
|
|
|
|
2018-04-16 01:36:57 +02:00
|
|
|
|
mkdir -p "${PKG}/usr/lib/ocaml/site-lib"
|
2018-04-16 01:30:40 +02:00
|
|
|
|
make OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)" install
|
2018-04-16 01:36:57 +02:00
|
|
|
|
|
2018-04-16 01:24:54 +02:00
|
|
|
|
}
|