void-packages/srcpkgs/ocaml/template
2017-04-17 15:05:32 +02:00

24 lines
655 B
Bash

# Template file for 'ocaml'
pkgname=ocaml
version=4.04.1
revision=1
makedepends="ncurses-devel libX11-devel"
short_desc="The main implementation of the Caml language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="http://ocaml.org/"
license="QPL-1, LGPL-2"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=9aea1867848e370ae79f9aea4d48b04daf416478b0f43dfcb3a0f4d3ecf5f8e4
nocross=yes
nopie=yes
do_configure() {
./configure -prefix /usr -mandir /usr/share/man
}
do_build() {
make ${makejobs} world.opt
}
do_install() {
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
vlicense LICENSE
}