void-packages/srcpkgs/ocaml-findlib/template

25 lines
748 B
Bash

# Template file for 'ocaml-findlib'
pkgname=ocaml-findlib
version=1.9.1
revision=3
wrksrc="findlib-${version}"
build_style=configure
configure_args="-config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man"
make_build_args="all opt"
makedepends="ncurses-devel ocaml ocamlbuild"
short_desc="OCaml package manager"
maintainer="John Regan <john@jrjrtech.com>"
license="MIT"
homepage="http://projects.camlcity.org/projects/findlib.html"
distfiles="http://download.camlcity.org/download/findlib-${version}.tar.gz"
checksum=2b42b8bd54488d64c4bf3cb7054b4b37bd30c1dc12bd431ea1e4d7ad8a980fe2
nocross=yes
nopie=yes
disable_parallel_build=yes
do_install() {
make prefix="$DESTDIR" install
vbin src/findlib/ocamlfind_opt
vlicense LICENSE
}