void-packages/srcpkgs/camlp5/template
Đoàn Trần Công Danh d7b833129a camlp5: fix build
2020-12-27 22:03:18 +07:00

21 lines
614 B
Bash

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