void-packages/srcpkgs/camlp5/template

22 lines
609 B
Bash

# Template file for 'camlp5'
pkgname=camlp5
version=8.00.02
revision=1
wrksrc="camlp5-rel${version}"
build_style=configure
configure_args="-mandir /usr/share/man"
hostmakedepends="ocaml perl"
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"
checksum=3c8c5c574b739cd9e4f0fd4881625ec4c67b456b64fc04ed2882e89a724577fd
nocross=yes
nopie=yes
post_install() {
vinstall etc/META 0644 usr/lib/ocaml/camlp5
vlicense LICENSE
}