22 lines
725 B
Bash
22 lines
725 B
Bash
# 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
|
|
}
|