void-packages/srcpkgs/camlp5/template

22 lines
614 B
Bash

# Template file for 'camlp5'
pkgname=camlp5
version=7.14
revision=2
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=6e84b9bc04e03b05bd1ec15500f0b8f4ef4ea81576a1aa7037ef01c84cf76da5
nocross=yes
nopie=yes
post_install() {
vinstall etc/META 0644 usr/lib/ocaml/camlp5
vlicense LICENSE
}