blob: dfbf77907cdac950a7036108f0f819f597440704 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=ocaml-lablgtk
_pkgname=lablgtk
pkgver=2.18.6
pkgrel=0
pkgdesc="An OCaml interface to GTK+ 2.x"
url="http://lablgtk.forge.ocamlcore.org/"
arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml aport
license="LGPL-2.1-only-WITH-linking-exception"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel
gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev"
makedepends="$depends_dev ocaml ocaml-compiler-libs ocaml-ocamldoc
ocaml-camlp4-dev ocaml-findlib"
replaces="lablgtk"
provides="lablgtk=$pkgver-r$pkgrel" # for backward compatibility
subpackages="$pkgname-dev"
source="https://forge.ocamlcore.org/frs/download.php/1726/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check textrels"
build() {
cd "$builddir"
./configure --prefix=/usr
make -j1 world
make -j1 opt
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/ocaml/ld.conf
}
sha512sums="0d30da0e4a93b1693ac6d63161d40c8cd6d9337e105a65f3cc01b013ce7ca04aa5e1a013527cb0728a9b7b7af20d0f4c8b0cc7f9102e553dff3cf8bc83a14e5e lablgtk-2.18.6.tar.gz"
|