New package: ocaml-camlp-streams-5.0

This commit is contained in:
Leah Neukirchen 2022-04-13 21:18:07 +02:00
parent b73b867711
commit a5e9a6a374

View file

@ -0,0 +1,22 @@
# Template file for 'ocaml-camlp-streams'
pkgname=ocaml-camlp-streams
version=5.0
revision=1
wrksrc="camlp-streams-${version}"
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=daa618bb57a876075a1801d9dcde7dee83635766185f565af913dff43ea4d226
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
}