f3a585169f
Adopted.
26 lines
657 B
Bash
26 lines
657 B
Bash
# Template build file for 'camlp4'
|
|
pkgname=camlp4
|
|
version=4.03+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=6eefeacced81cca59ddf90c2538505fd5cd6596a3fc1acf4971e9796c2e7f2ae
|
|
hostmakedepends="ocaml ocamlbuild"
|
|
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
|
|
}
|