diff --git a/srcpkgs/ocaml-camomile/template b/srcpkgs/ocaml-camomile/template new file mode 100644 index 00000000000..95691288e61 --- /dev/null +++ b/srcpkgs/ocaml-camomile/template @@ -0,0 +1,27 @@ +# Template file for 'ocaml-camomile' +pkgname=ocaml-camomile +version=0.8.3 +revision=1 +wrksrc="camomile-${version}" +build_style=gnu-configure +makedepends="ocaml-compiler-libs ocaml-findlib ocaml" +short_desc="Unicode library for O'Caml" +maintainer="pancake " +homepage="http://camomile.sourceforge.net/" +license="LGPL2" +distfiles="${SOURCEFORGE_SITE}/camomile/camomile-${version}.tar.bz2" +checksum=94c8d65d417c90301f6b3b21e4b00e151c434a3e2d406c3d5b3363859034f27b + +disable_parallel_build=yes + +do_install() { + mkdir -p "${DESTDIR}/usr/lib/ocaml/site-lib/camomile" + sed -e "s|ocamlfind install|ocamlfind install -destdir '${DESTDIR}$(ocamlfind printconf destdir)'|" -i Makefile + make install +} + +ocaml-camomile_package() { + pkg_install() { + vmove all + } +}