# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit git-r3 if [[ ${PV} == "9999" ]] ; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/g2p/git-fs.git" fi DESCRIPTION="FUSE file system inferface to git repositories" HOMEPAGE="https://github.com/g2p/git-fs" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-ml/camlidl dev-util/omake dev-ml/findlib dev-ml/batteries dev-ml/pcre-ocaml" RDEPEND="sys-fs/fuse dev-libs/libgit2" src_prepare() { git submodule update --init } src_compile() { addpredict "/usr/$(get_libdir)/omake/Pervasives.omc" addpredict "/usr/$(get_libdir)/omake/build/Common.omc" addpredict "/usr/$(get_libdir)/omake/build/C.omc" addpredict "/usr/$(get_libdir)/omake/build/OCaml.omc" addpredict "/usr/$(get_libdir)/omake/configure/Configure.omc" make -C deps/ocamlfuse/lib || make -C deps/ocamlfuse/lib byte-code-library omake } src_install() { newbin build/git-fs.opt git-fs }