aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-menhir
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-28 23:18:50 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-29 04:56:05 +0000
commit304756dae907368c0f3ed391fbae5a3f6d4ed8c8 (patch)
treec6b544c5d7b77ac6bb7b58a2929311b2f5485982 /testing/ocaml-menhir
parent0a6aada2b9e53f2abc08b287e75741d21d90e9d1 (diff)
downloadaports-304756dae907368c0f3ed391fbae5a3f6d4ed8c8.tar.bz2
aports-304756dae907368c0f3ed391fbae5a3f6d4ed8c8.tar.xz
testing/ocaml-menhir: modernize
Closes GH-8228
Diffstat (limited to 'testing/ocaml-menhir')
-rw-r--r--testing/ocaml-menhir/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/ocaml-menhir/APKBUILD b/testing/ocaml-menhir/APKBUILD
index 1be34c4be8..6d9d289449 100644
--- a/testing/ocaml-menhir/APKBUILD
+++ b/testing/ocaml-menhir/APKBUILD
@@ -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"