community/lablgtk: enable build on ppc64le

Enable build on ppc64le as ocaml is now available. Also use make -j1 for
now due to failure when using parallelism.
This commit is contained in:
Roberto Oliveira 2017-07-01 01:44:31 +00:00 committed by Jakub Jirutka
parent e4565a2b41
commit 2fff0ac077

View File

@ -6,7 +6,7 @@ pkgrel=3
pkgdesc="LablGtk - an OCaml interface to GTK+ 2.x"
url="http://lablgtk.forge.ocamlcore.org/"
# ocaml is not built for x86, armhf
arch="x86_64"
arch="x86_64 ppc64le"
license="GPL"
depends_dev="lablgtk gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev"
depends="ocaml-findlib camlp4 ocaml"
@ -15,14 +15,14 @@ subpackages="$pkgname-doc $pkgname-dev"
source="https://forge.ocamlcore.org/frs/download.php/1627/lablgtk-$pkgver.tar.gz"
builddir="$srcdir/lablgtk-$pkgver"
options="!check"
options="!check textrels"
build() {
cd "$builddir"
./configure --prefix=/usr
make world
make opt
make -j1 world
make -j1 opt
make doc
}