opt/ocaml/Pkgfile

20 lines
566 B
Plaintext

# Description: Objective CAML Compiler
# URL: http://caml.inria.fr/
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Packager: Erlend Bergsas Mikkelsen, howl at online dot no
# Depends on: ncurses, gdbm
name=ocaml
version=3.11.2
release=1
source=(http://caml.inria.fr/pub/distrib/$name-3.11/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure -prefix /usr -with-pthread --no-tk
make -j1 world.opt
make PREFIX=$PKG/usr install
local f
for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
}