1 # Maintainer: Thomas S Hatch <thatch45 (at) Gmail (dot) com>
3 pkgname=ocaml-xml-light
8 pkgdesc="Objective Caml lightweight xml parser"
9 url="http://tech.motion-twin.com/xmllight.html"
11 makedepends=('ocaml-findlib')
13 source=("http://tech.motion-twin.com/zip/xml-light-${pkgver}.zip"
15 md5sums=('7658985cfdaeeb94b579b932eeaa3e00'
16 'ad22cde4d3a944673d3b0a25a1e835dc')
18 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
19 DOCDIR="${pkgdir}/usr/share/doc/${pkgname}"
22 cd ${srcdir}/xml-light
23 echo -e "\nxml_parser.cmi:\n\tocamlc xml_parser.mli\n" >> Makefile
29 cd ${srcdir}/xml-light
30 mkdir -p $OCAMLFIND_DESTDIR/stublibs
34 env DESTDIR="${pkgdir}" \
35 OCAMLFIND_DESTDIR="$OCAMLFIND_DESTDIR" \
36 ocamlfind install xml-light META *.mli *.cmi *.cma *.a *.cmxa *.cmx