void-packages/srcpkgs/ocaml/template
Christian Neukirchen a7c8ef858d ocaml: update to 4.02.0.
ocaml-compiler-libs is gone, since it was essential for use of
ocamldebug and for building toplevels.  We now let "make install"
install the relevant parts of the compiler-libs.
2014-08-30 14:15:53 +02:00

30 lines
740 B
Plaintext

# Template file for 'ocaml'
pkgname=ocaml
_majorver=4.02
version=${_majorver}.0
revision=1
makedepends="ncurses-devel libX11-devel"
short_desc="The main implementation of the Caml language"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://caml.inria.fr"
license="QPL-1,LGPL-2"
distfiles="${homepage}/pub/distrib/${pkgname}-${_majorver}/${pkgname}-${version}.tar.xz"
checksum=87d7a59e90659bea57ae25659bbd25d56fe09e93465f2a11b610f3f537ca85d6
nocross=yes
do_configure() {
./configure -prefix /usr -mandir /usr/share/man
}
do_build() {
make ${makejobs} world.opt
}
do_install() {
local compiler_libs=${DESTDIR}/usr/lib/ocaml/compiler-libs
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
vlicense LICENSE
}