# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="gibak is a backup tool based on git" HOMEPAGE="http://www.eigenclass.org/hiki/gibak-0.3.0" SRC_URI="http://eigenclass.org/static/gibak/${P}.tar.gz" LICENSE="GNU" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=net-misc/rsync-2.6 >=dev-util/git-1.5 >=dev-lang/ocaml-3.10 dev-util/omake " RDEPEND="${DEPEND}" src_unpack(){ unpack ${A} cd ${S} } src_compile(){ omake || die "emake failed" } src_install(){ addpredict /usr/lib addpredict /usr/bin dobin find-git-files dobin find-git-repos dobin gibak dobin ometastore into / || die "install failed" dodoc LICENSE || die "docs failed" } pkg_postinst(){ if has_version '