Advertisement
Guest User

Untitled

a guest
Sep 14th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. # Maintainer: Magnus Therning <magnus@therning.org>
  2. # Contributor: Sergei Lebedev <superbobry@gmail.com>
  3. pkgname=ocaml-odn
  4. pkgver=0.0.6
  5. pkgrel=1
  6. pkgdesc="OCaml data notation"
  7. arch=('i686' 'x86_64')
  8. url="https://forge.ocamlcore.org/projects/odn"
  9. # LGPL + linking exception
  10. license=('LGPL')
  11. depends=('ocaml' 'ocaml-type-conv' 'ocaml-fileutils')
  12. makedepends=('ocaml-findlib')
  13. source=(https://forge.ocamlcore.org/frs/download.php/638/ocaml-data-notation-$pkgver.tar.gz
  14. type-conv-compat.patch)
  15. md5sums=('32d916776f37c6439d52a0adf34da922'
  16. '68fcc2b59f1ac15335916d223511e21d')
  17. options=(!strip)
  18.  
  19. build() {
  20. cd ${srcdir}/ocaml-data-notation-${pkgver}
  21. patch -Np0 < $startdir/type-conv-compat.patch
  22. ocaml setup.ml -configure --prefix /usr --destdir ${pkgdir} --disable-tests
  23. ocaml setup.ml -build
  24. }
  25.  
  26. package() {
  27. cd ${srcdir}/ocaml-data-notation-${pkgver}
  28. OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir)
  29. mkdir -p $OCAMLFIND_DESTDIR
  30. OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR ocaml setup.ml -install
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement