void-packages/srcpkgs/ocaml-camlp-streams/template

22 lines
693 B
Bash

# Template file for 'ocaml-camlp-streams'
pkgname=ocaml-camlp-streams
version=5.0.1
revision=2
makedepends="ocaml dune"
short_desc="Stream and Genlex libraries for use with Camlp4 and Camlp5"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-only,OCaml-LGPL-linking-exception"
homepage="https://github.com/ocaml/camlp-streams"
distfiles="https://github.com/ocaml/camlp-streams/archive/v${version}.tar.gz"
checksum=ad71f62406e9bb4e7fb5d4593ede2af6c68f8b0d96f25574446e142c3eb0d9a4
nocross=yes
disable_parallel_build=yes
do_build() {
dune build --display=short
}
do_install() {
dune install --prefix=/usr --destdir="$DESTDIR" \
--libdir=/usr/lib/ocaml --docdir=/usr/share/doc
}