vp-build/srcpkgs/ocaml-findlib/template

27 lines
793 B
Bash

# Template file for 'ocaml-findlib'
pkgname=ocaml-findlib
version=1.9.3
revision=2
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=c310fcb62838d9e50f0b6d6c5ceefcbe4fe056f72496950ae7d5c6cdaae2cc41
nocross=yes
nopie=yes
disable_parallel_build=yes
do_install() {
make prefix="$DESTDIR" install
vbin src/findlib/ocamlfind_opt
vlicense LICENSE
rm -rf ${DESTDIR}/usr/lib/ocaml/ocamlbuild
}