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 + } +}