void-packages/srcpkgs/ocaml-findlib/template

25 lines
752 B
Bash

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