diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-12 08:51:56 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-12 08:51:56 +0100 |
commit | d2654ec3443c5ab20beebb082df38780147db288 (patch) | |
tree | f38c9dc91ced07c6152405082bee97a1a7c9ffed /pcr | |
parent | 1e6dc7260b8356e47dcce3ba020ac3865f9d911f (diff) | |
download | abslibre-d2654ec3443c5ab20beebb082df38780147db288.tar.gz abslibre-d2654ec3443c5ab20beebb082df38780147db288.tar.bz2 abslibre-d2654ec3443c5ab20beebb082df38780147db288.zip |
pcr/ocaml-lwt: updated to 4.1.0
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ocaml-lwt/PKGBUILD | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/pcr/ocaml-lwt/PKGBUILD b/pcr/ocaml-lwt/PKGBUILD index c2dfe811d..5c64a7018 100644 --- a/pcr/ocaml-lwt/PKGBUILD +++ b/pcr/ocaml-lwt/PKGBUILD @@ -11,42 +11,32 @@ _pkgname=lwt pkgname=ocaml-${_pkgname} -pkgver=2.7.1 -pkgrel=1 +pkgver=4.1.0 +pkgrel=3 pkgdesc="A library for cooperative threads in OCaml" -arch=('i686' 'x86_64' 'armv7h') -url="http://ocsigen.org/${_pkgname}/" -license=('custom:LGPL with OpenSSL linking exception') -depends=('ocaml' 'camlp4' 'ocaml-ppx_tools' 'ocaml-react' 'ocaml-result' 'ocaml-ssl' 'libev' 'glib2') -makedepends=('ocamlbuild' 'ocaml-findlib' 'cppo') +arch=('i686' 'x86_64') +arch+=('armv7h') +url="http://ocsigen.org/lwt/" +license=('MIT') +depends=('libev' 'ocaml-migrate-parsetree' 'ocaml-ppx_tools_versioned' 'ocaml-react' 'ocaml-result') +makedepends=('ocaml-findlib' 'dune' 'cppo') source=("$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/${_pkgname}/archive/${pkgver}.tar.gz") -sha256sums=('43c0541c185f9db4ef7e44703bd75b832dc7a69ccc9905dd413d08563d44d639') +sha256sums=('974e941f0e9c63200935ebd5e6bd4be5acde3ad1fd067fb7ebe54db952001056') options=('!strip' '!makeflags' 'staticlibs') build() { cd "${srcdir}/${_pkgname}-${pkgver}" - echo '<src/top/*.*>: use_compiler_libs' >> _tags - # What requires what? - # --enable-glib glib2 - # --enable-react ocaml-react - # --enable-ssl ocaml-ssl - ocaml setup.ml -configure --enable-react \ - --enable-glib \ - --enable-ssl \ - --enable-camlp4 \ - --enable-ppx \ - --disable-debug \ - --prefix "${pkgdir}/usr" - make + ocaml src/util/configure.ml -use-libev true + jbuilder build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" - export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" - install -dm755 "${OCAMLFIND_DESTDIR}/stublibs" - make install - install -Dm 644 "doc/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + install -dm755 "${pkgdir}$(ocamlfind printconf destdir)" "${pkgdir}/usr/share" + jbuilder install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind printconf destdir)" + mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" + install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" } |