# Template build file for 'camlp4' pkgname=camlp4 version=4.05+1 revision=1 build_style=configure short_desc="Caml preprocessor and pretty-printer" maintainer="Leah Neukirchen " license="GPL-2" homepage="https://github.com/ocaml/camlp4" distfiles="${homepage}/archive/${version}.tar.gz" checksum=9819b5c7a5c1a4854be18020ef312bfec6541e26c798a5c863be875bfd7e8e2b hostmakedepends="ocaml ocamlbuild" wrksrc="camlp4-${version/+/-}" 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 }