blob: 6dcc4ded45c68ba28cac898c68871c463340eb96 (
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.03.0
9 release=1
10 source=(http://caml.inria.fr/pub/distrib/$name-${version%.*}/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14 ./configure -prefix /usr -mandir /usr/share/man -with-pthread -no-graph
15 make -j1 world.opt
16 make DESTDIR=$PKG install
17 local f
18 for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
19 }
|