void-packages/srcpkgs/ocaml-findlib/template

25 lines
746 B
Bash

# Template file for 'ocaml-findlib'
pkgname=ocaml-findlib
version=1.7.1
revision=1
build_style=configure
configure_args="-config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man"
make_build_args="all opt"
makedepends="ocaml m4 ncurses-devel"
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=5d4b9a79e9abf8be0b509f6b8cf5696221cbe14fa2fbb2bb352342755fd15eef
wrksrc="findlib-${version}"
nocross="yes"
nopie="yes"
disable_parallel_build="yes"
do_install() {
make prefix="$DESTDIR" install
vbin src/findlib/ocamlfind_opt
vlicense LICENSE
}