From b94967f1d5105fdfcbce870528f0ee7fe2a025c6 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 29 Apr 2013 16:27:29 +0200 Subject: [PATCH] New package: ocaml-findlib-1.3.3 --- srcpkgs/ocaml-findlib/template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 srcpkgs/ocaml-findlib/template diff --git a/srcpkgs/ocaml-findlib/template b/srcpkgs/ocaml-findlib/template new file mode 100644 index 0000000000..855e025f95 --- /dev/null +++ b/srcpkgs/ocaml-findlib/template @@ -0,0 +1,34 @@ +# Template file for 'ocaml-findlib' +pkgname=ocaml-findlib +version=1.3.3 +revision=1 +wrksrc="findlib-${version}" +makedepends="ocaml-compiler-libs" +short_desc="O'Caml library manager" +maintainer="pancake " +homepage="http://projects.camlcity.org/projects/findlib.html" +license="MIT/X11" +distfiles="http://download.camlcity.org/download/findlib-${version}.tar.gz" +checksum=981f5c67118a2be015efa79f3af3cb0063376b93123b5d695e7cb5c586b1d45c + +conf_files="/etc/${pkgname}.conf" +disable_parallel_build=yes + +do_configure() { + ./configure -bindir /usr/bin -mandir /usr/share/man -config /etc/${pkgname}.conf +} + +do_build() { + make ${makejobs} +} + +do_install() { + make prefix=${DESTDIR} install +} + + +ocaml-findlib_package() { + pkg_install() { + vmove all + } +}