From a5e9a6a3742820a61b3cf38171056175f015104c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 13 Apr 2022 21:18:07 +0200 Subject: [PATCH] New package: ocaml-camlp-streams-5.0 --- srcpkgs/ocaml-camlp-streams/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/ocaml-camlp-streams/template diff --git a/srcpkgs/ocaml-camlp-streams/template b/srcpkgs/ocaml-camlp-streams/template new file mode 100644 index 00000000000..ce728427d28 --- /dev/null +++ b/srcpkgs/ocaml-camlp-streams/template @@ -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 " +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 +}