2015-07-23 10:04:29 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-10 23:59:40 +03:00
|
|
|
# $Id$
|
2015-07-23 10:04:29 +03:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
inherit toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends."
|
|
|
|
HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview"
|
|
|
|
SRC_URI="https://bitbucket.org/tsg-/${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
CUSTOM_VERSION="f61e907d2bbc"
|
|
|
|
S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
2015-08-03 10:58:17 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2015-07-23 10:04:29 +03:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND=""
|
|
|
|
DEPEND="sys-devel/autoconf"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
autoreconf -i -v || die "autoconf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install
|
|
|
|
}
|