summaryrefslogtreecommitdiff
path: root/ocaml/Pkgfile
blob: 35ec239e5e5967e4e10059b43ea6578fa4e5d191 (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:  ncurses, gdbm
    6 
    7 name=ocaml
    8 version=3.12.0
    9 release=1
   10 source=(http://caml.inria.fr/pub/distrib/$name-3.12/$name-$version.tar.bz2)
   11 
   12 build() {
   13     cd $name-$version
   14     ./configure -prefix /usr -with-pthread --no-tk 
   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