mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 06:17:14 +02:00
community/ocaml-lablgtk: upgrade to 2.18.6, remove -doc subpkg
`make doc` fails with: cannot find file ./gtkdoc.cmxs in search path
This commit is contained in:
parent
b241b0527c
commit
d7643405fa
@ -2,20 +2,22 @@
|
|||||||
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
|
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
|
||||||
pkgname=ocaml-lablgtk
|
pkgname=ocaml-lablgtk
|
||||||
_pkgname=lablgtk
|
_pkgname=lablgtk
|
||||||
pkgver=2.18.5
|
pkgver=2.18.6
|
||||||
pkgrel=4
|
pkgrel=0
|
||||||
pkgdesc="LablGtk - an OCaml interface to GTK+ 2.x"
|
pkgdesc="An OCaml interface to GTK+ 2.x"
|
||||||
url="http://lablgtk.forge.ocamlcore.org/"
|
url="http://lablgtk.forge.ocamlcore.org/"
|
||||||
# ocaml is not built for x86, armhf
|
# ocaml is not built for x86, armhf
|
||||||
arch="x86_64 ppc64le"
|
arch="x86_64 ppc64le"
|
||||||
license="LGPL-2.1-only-WITH-linking-exception"
|
license="LGPL-2.1-only-WITH-linking-exception"
|
||||||
depends="ocaml-findlib ocaml-camlp4 ocaml"
|
depends="ocaml-runtime"
|
||||||
depends_dev="lablgtk gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev"
|
depends_dev="$pkgname=$pkgver-r$pkgrel
|
||||||
makedepends="$depends_dev ocaml-camlp4-dev"
|
gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev"
|
||||||
|
makedepends="$depends_dev ocaml ocaml-compiler-libs ocaml-ocamldoc
|
||||||
|
ocaml-camlp4-dev ocaml-findlib"
|
||||||
replaces="lablgtk"
|
replaces="lablgtk"
|
||||||
provides="lablgtk=$pkgver-r$pkgrel" # for backward compatibility
|
provides="lablgtk=$pkgver-r$pkgrel" # for backward compatibility
|
||||||
subpackages="$pkgname-doc $pkgname-dev"
|
subpackages="$pkgname-dev"
|
||||||
source="https://forge.ocamlcore.org/frs/download.php/1627/$_pkgname-$pkgver.tar.gz"
|
source="https://forge.ocamlcore.org/frs/download.php/1726/$_pkgname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$_pkgname-$pkgver"
|
builddir="$srcdir/$_pkgname-$pkgver"
|
||||||
options="!check textrels"
|
options="!check textrels"
|
||||||
|
|
||||||
@ -25,7 +27,6 @@ build() {
|
|||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make -j1 world
|
make -j1 world
|
||||||
make -j1 opt
|
make -j1 opt
|
||||||
make doc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
@ -35,12 +36,4 @@ package() {
|
|||||||
rm -f "$pkgdir"/usr/lib/ocaml/ld.conf
|
rm -f "$pkgdir"/usr/lib/ocaml/ld.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
doc() {
|
sha512sums="0d30da0e4a93b1693ac6d63161d40c8cd6d9337e105a65f3cc01b013ce7ca04aa5e1a013527cb0728a9b7b7af20d0f4c8b0cc7f9102e553dff3cf8bc83a14e5e lablgtk-2.18.6.tar.gz"
|
||||||
default_doc
|
|
||||||
|
|
||||||
local docdir="$subpkgdir"/usr/share/doc/$pkgname/
|
|
||||||
mkdir -p "$docdir"
|
|
||||||
cp -r "$builddir"/doc/html/* "$docdir"/
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="7b6ba1a4dfa82cc3bbc502082ff4fccc23cc06ee4f30d01a2e423f3f99e945a4befe450d230b5aa19c5b810e9f46f2838655099d49da2db7c8a2e52eac213024 lablgtk-2.18.5.tar.gz"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user