void-packages/srcpkgs/ocaml-findlib/template
2020-04-06 13:40:59 +02:00

26 lines
797 B
Bash

# Template file for 'ocaml-findlib'
pkgname=ocaml-findlib
version=1.8.1
revision=3
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://download.camlcity.org/download/findlib-${version}.tar.gz"
checksum=8e85cfa57e8745715432df3116697c8f41cb24b5ec16d1d5acd25e0196d34303
wrksrc="findlib-${version}"
nocross=yes
nopie=yes
disable_parallel_build=yes
do_install() {
make prefix="$DESTDIR" install
vbin src/findlib/ocamlfind_opt
vlicense LICENSE
rm ${DESTDIR}/usr/lib/ocaml/ocamlbuild/META
}