void-packages/srcpkgs/camlp5/template

22 lines
609 B
Bash

# Template file for 'camlp5'
pkgname=camlp5
version=7.10
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=83dff83d33ee9b70cd1b9d8d365db63a118201e5feb6aab49d9d3b1d62621784
post_install() {
vinstall etc/META 0644 usr/lib/ocaml/camlp5
vlicense LICENSE
}