Commit 304756da authored by Leo's avatar Leo Committed by Kevin Daudt
Browse files

testing/ocaml-menhir: modernize

Closes GH-8228
parent 0a6aada2
......@@ -10,20 +10,17 @@ url="http://gallium.inria.fr/~fpottier/menhir/"
arch="aarch64 ppc64le x86_64" # limited by ocaml aport
license="GPL-2.0-only"
depends="ocaml-findlib"
makedepends="ocaml ocaml-findlib ocaml-ocamlbuild-dev ocamlbuild"
makedepends="ocaml ocaml-ocamlbuild-dev ocamlbuild"
options="!check" # no tests provided
subpackages="$pkgname-dev $pkgname-doc"
source="http://gallium.inria.fr/~fpottier/menhir/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
make PREFIX=/usr TARGET=native
}
package() {
cd "$builddir"
export OCAMLFIND_DESTDIR="$pkgdir/usr/lib/ocaml"
mkdir -p "$OCAMLFIND_DESTDIR"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment