void-packages/srcpkgs/camlp4/template

27 lines
633 B
Bash
Raw Normal View History

2015-08-26 20:11:48 +02:00
# Template build file for 'camlp4'
pkgname=camlp4
version=4.02+6
revision=1
build_style=configure
short_desc="Caml preprocessor and pretty-printer"
maintainer="John Regan <john@jrjrtech.com>"
license="GPL-2"
homepage="https://github.com/ocaml/camlp4"
distfiles="$homepage/archive/${version}.tar.gz"
checksum="820c35b69fdff3225bda6045fabffe5d7c54dda00fb157444ac8bda5e1778d45"
makedepends="ocaml"
wrksrc="camlp4-${version/+/-}"
nocross="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
}