void-packages/srcpkgs/camlp5/template

22 lines
609 B
Bash

# Template file for 'camlp5'
pkgname=camlp5
version=7.12
revision=1
build_style=configure
configure_args="-mandir /usr/share/man"
hostmakedepends="ocaml"
short_desc="OCaml preprocessor and pretty-printer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://camlp5.github.io/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/rel${version//./}.tar.gz"
wrksrc="camlp5-rel${version//./}"
nocross=yes
nopie=yes
checksum=fc4b50b9d917c2f844b909bdfd55735f3f658e32a415f0decc1c265bf3af42be
post_install() {
vinstall etc/META 0644 usr/lib/ocaml/camlp5
vlicense LICENSE
}