void-packages/srcpkgs/ocaml/template
2017-07-13 14:19:17 +02:00

25 lines
682 B
Bash

# Template file for 'ocaml'
pkgname=ocaml
version=4.05.0
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=e5d8a6f629020c580473d8afcfcb06c3966d01929f7b734f41dc0c737cd8ea3f
nocross=yes
nopie=yes
disable_parallel_build=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
}