void-packages/srcpkgs/camlp4/template
2019-10-02 14:01:28 +02:00

28 lines
655 B
Bash

# Template file for 'camlp4'
pkgname=camlp4
version=4.08+1
revision=2
wrksrc="camlp4-${version/+/-}"
build_style=configure
hostmakedepends="ocaml ocamlbuild"
short_desc="Caml preprocessor and pretty-printer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-only"
homepage="https://github.com/ocaml/camlp4"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=655cd3bdcafbf8435877f60f4b47dd2eb69feef5afd8881291ef01ba12bd9d88
nocross=yes
nopie=yes
do_build() {
make all camlp4/META
}
do_install() {
make \
BINDIR="$DESTDIR/usr/bin" \
LIBDIR="$DESTDIR/usr/lib/ocaml" \
PKGDIR="$DESTDIR/usr/lib/ocaml" \
install install-META
}