diff options
Diffstat (limited to 'app-backup/bup/bup-0.25_rc3.ebuild')
-rw-r--r-- | app-backup/bup/bup-0.25_rc3.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-backup/bup/bup-0.25_rc3.ebuild b/app-backup/bup/bup-0.25_rc3.ebuild new file mode 100644 index 0000000..afd7ff9 --- /dev/null +++ b/app-backup/bup/bup-0.25_rc3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils + +DESCRIPTION="It backs things up based on the git packfile format" +HOMEPAGE="http://github.com/bup/bup" +SRC_URI="http://github.com/bup/bup/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+doc" + +DEPEND="|| ( + dev-lang/python:2.4 + dev-lang/python:2.5 + dev-lang/python:2.6 + dev-lang/python:2.7 + ) + dev-vcs/git + app-arch/par2cmdline + dev-python/fuse-python + dev-python/pyxattr + dev-python/pylibacl + doc? ( app-text/pandoc )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + mv -v * "${S}" || die +} + +src_configure() { + echo "Nothing to configure..." +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake install DESTDIR="${D}" + + dodoc "${D}/usr/share/doc/${PN}"/* + rm -r "${D}/usr/share/doc/${PN}/" || die + + dodoc README README.md DESIGN +} + +src_test() { + emake test +} |