summaryrefslogtreecommitdiff
path: root/ocaml/Pkgfile
blob: 0a1fbe31cf8342afb7990d2733d6eb83eeb05f15 (plain)
    1 # Description: Objective CAML Compiler
    2 # URL:         http://caml.inria.fr/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Packager:    Erlend Bergsas Mikkelsen, howl at online dot no
    5 # Depends on:  binutils gdbm
    6 
    7 name=ocaml
    8 version=4.02.3
    9 release=1
   10 source=(http://caml.inria.fr/pub/distrib/$name-4.02/$name-$version.tar.xz)
   11 
   12 build() {
   13     cd $name-$version
   14     ./configure -prefix /usr -with-pthread -no-graph
   15     make -j1 world.opt
   16     make PREFIX=$PKG/usr install
   17     local f
   18     for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
   19 }

Generated by cgit