# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A backup tool based on git." HOMEPAGE="http://eigenclass.org/hiki/gibak-backup-system-introduction/" SRC_URI="http://eigenclass.org/static/gibak/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="xattr" DEPEND=">=dev-lang/ocaml-3.10 dev-util/omake" RDEPEND=">=dev-util/git-1.5.4.2 net-misc/rsync" src_unpack() { unpack ${A} cd ${S} if use xattr; then sed -i'' -e 's/^#\(CFLAGS = -DHAVE_LINUX_XATTR\)/\1/' OMakefile fi } src_compile() { omake --force-dotomake --dotomake omc || die "omake failed" } src_install() { dobin find-git-files dobin find-git-repos dobin gibak dobin ometastore dodoc README.txt } pkg_postinst() { elog "Run gibak without any options to get a help message with usage information" }