void-packages/srcpkgs/camlp5/template

22 lines
610 B
Bash

# Template file for 'camlp5'
pkgname=camlp5
version=7.05
revision=2
build_style=configure
configure_args="-mandir /usr/share/man"
hostmakedepends="ocaml"
short_desc="OCaml preprocessor and pretty-printer"
maintainer="Némo Fournier <nemo@epicea.xyz>"
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=ccc7afd2936c75cbee4aad58cd2ef8e7bf0dded556b91d76e4e462a27550ff12
post_install() {
vinstall etc/META 0644 usr/lib/ocaml/camlp5
vlicense LICENSE
}