void-packages/srcpkgs/camlp4/template
Christian Neukirchen 55348d0a24 camlp4: update to 4.04+1.
Closes #5210.
2016-11-21 16:08:04 +01:00

27 lines
667 B
Bash

# Template build file for 'camlp4'
pkgname=camlp4
version=4.04+1
revision=1
build_style=configure
short_desc="Caml preprocessor and pretty-printer"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://github.com/ocaml/camlp4"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=6044f24a44053684d1260f19387e59359f59b0605cdbf7295e1de42783e48ff1
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
}