# Description: Objective CAML Compiler
# URL:         http://caml.inria.fr/
# Maintainer:  Juergen Daubert, jue at crux dot nu
# Packager:    Erlend Bergsas Mikkelsen, howl at online dot no
# Depends on:  binutils

name=ocaml
version=4.07.1
release=1
source=(http://caml.inria.fr/pub/distrib/$name-${version%.*}/$name-$version.tar.xz)

build() {
    cd $name-$version
    ./configure -prefix /usr -mandir /usr/share/man -no-graph
    make world.opt
    make DESTDIR=$PKG install
    chmod -R g-w $PKG
}
