blob: 748d578c8946f212897fb6d86e8e6a9aaaa5b00d (
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.2
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 }
|