blob: c5f958805dabe598e406cb863afd3f273456143d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/lmctfy/lmctfy-0.5.0.ebuild,v 1.2 2015/03/10 21:40:30 vapier Exp $
EAPI=5
inherit eutils
DESCRIPTION="Linux application container management from Google"
HOMEPAGE="https://github.com/google/lmctfy"
SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="
dev-libs/protobuf
>=dev-cpp/gflags-2.1.1
dev-libs/re2
dev-lang/go
sys-libs/libapparmor
"
RDEPEND="${DEPEND}"
src_compile() {
# test deps take too long to compile
use test && emake || emake lmctfy liblmctfy.a
}
src_install() {
dobin bin/lmctfy/cli/lmctfy
dolib.a bin/liblmctfy.a
}
|