New package: camlp4

This commit is contained in:
John Regan 2015-08-26 14:11:48 -04:00
parent adaf0f7a6d
commit bde5e83ac8

26
srcpkgs/camlp4/template Normal file
View file

@ -0,0 +1,26 @@
# 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
}