2012-09-30 05:11:16 +00:00
|
|
|
# Template file for 'ocaml'
|
|
|
|
pkgname=ocaml
|
2014-08-30 12:11:37 +00:00
|
|
|
_majorver=4.02
|
2014-10-16 13:16:46 +00:00
|
|
|
version=${_majorver}.1
|
2014-08-30 12:11:37 +00:00
|
|
|
revision=1
|
|
|
|
makedepends="ncurses-devel libX11-devel"
|
2012-09-30 05:11:16 +00:00
|
|
|
short_desc="The main implementation of the Caml language"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-30 05:11:16 +00:00
|
|
|
homepage="http://caml.inria.fr"
|
|
|
|
license="QPL-1,LGPL-2"
|
2014-08-30 12:11:37 +00:00
|
|
|
distfiles="${homepage}/pub/distrib/${pkgname}-${_majorver}/${pkgname}-${version}.tar.xz"
|
2014-10-16 13:16:46 +00:00
|
|
|
checksum=68c4b01be54c23bc20fc0a8beaa5c7433b8483f8950490129cfe7662e0c6f4dc
|
2014-08-30 12:11:37 +00:00
|
|
|
nocross=yes
|
2013-04-14 03:01:48 +00:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
./configure -prefix /usr -mandir /usr/share/man
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs} world.opt
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-04-16 12:39:52 +00:00
|
|
|
local compiler_libs=${DESTDIR}/usr/lib/ocaml/compiler-libs
|
|
|
|
|
2013-04-14 03:01:48 +00:00
|
|
|
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
|
2012-09-30 05:11:16 +00:00
|
|
|
|
2014-08-30 12:11:37 +00:00
|
|
|
vlicense LICENSE
|
2013-04-14 03:01:48 +00:00
|
|
|
}
|