mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
45 lines
862 B
Bash
45 lines
862 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit git-r3 eutils multilib
|
|
|
|
DESCRIPTION="Best-Effort Extent-Same, a btrfs dedup agent"
|
|
HOMEPAGE="https://github.com/Zygo/bees"
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
EGIT_REPO_URI="https://github.com/kakra/bees.git"
|
|
EGIT_BRANCH="integration"
|
|
else
|
|
SRC_URI="https://github.com/Zygo/bees/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
fi
|
|
|
|
PATCHES="
|
|
${FILESDIR}/v0.5-gentoo_build.patch
|
|
"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE=""
|
|
|
|
COMMON_DEPEND="
|
|
>=sys-apps/util-linux-2.30.2
|
|
>=sys-devel/gcc-4.9
|
|
>=sys-fs/btrfs-progs-4.1
|
|
"
|
|
DEPEND="
|
|
${COMMON_DEPEND}
|
|
|| ( dev-python/markdown dev-python/markdown2 )
|
|
"
|
|
RDEPEND="${COMMON_DEPEND}"
|
|
|
|
DOCS="README.md COPYING"
|
|
HTML_DOCS="README.html"
|
|
|
|
src_prepare() {
|
|
default
|
|
echo LIBDIR=$(get_libdir) >>${S}/localconf
|
|
}
|