# Tanım: O'Caml kütüphane yöneticisi
# URL: http://projects.camlcity.org/projects/findlib.html
# Paketçi: milisarge
# Gerekler: ocaml

isim=ocaml-findlib
_isim=findlib
surum=1.7.1
devir=1
kaynak=(http://download.camlcity.org/download/${_name}-$surum.tar.gz)

derle() {

    cd ${_name}-$surum
    
    ./configure -bindir /usr/bin \
                -config /etc/findlib.conf
                
    make -j1 all opt
    make prefix="$PKG" install
    install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
    
}
