void-packages/srcpkgs/camlp4/template
Christian Neukirchen c7f9795673 camlp4: nopie=yes.
2016-06-21 21:37:05 +02:00

27 lines
667 B
Bash

# Template build file for 'camlp4'
pkgname=camlp4
version=4.03+1
revision=2
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=6eefeacced81cca59ddf90c2538505fd5cd6596a3fc1acf4971e9796c2e7f2ae
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
}