opt/ocaml/Pkgfile

20 lines
546 B
Plaintext

# 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 gdbm
name=ocaml
version=4.02.3
release=1
source=(http://caml.inria.fr/pub/distrib/$name-4.02/$name-$version.tar.xz)
build() {
cd $name-$version
./configure -prefix /usr -with-pthread -no-graph
make -j1 world.opt
make PREFIX=$PKG/usr install
local f
for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
}