Merge pull request #2381 from jprjr/camlp4

New package: camlp4
This commit is contained in:
Jürgen Buchmüller 2015-08-28 12:18:42 +02:00
commit 1cb55df575
1 changed files with 26 additions and 0 deletions

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
}