From e7845069472ecefef626f96e4fb2f51304ec44b0 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 29 Apr 2013 17:51:25 +0200 Subject: [PATCH] New package: ocaml-camomile-0.8.3 --- srcpkgs/ocaml-camomile/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/ocaml-camomile/template 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 + } +}