blob: 58deac7851ee636a4ff4915b5ce850b44c52a491 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-0.5.4.ebuild,v 1.1 2014/07/19 19:43:53 alunduil Exp $
EAPI=5
inherit systemd vcs-snapshot
DESCRIPTION="A Distributed init System"
HOMEPAGE="https://github.com/coreos/fleet"
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=">=dev-lang/go-1.2"
src_compile() {
./build || die
}
src_install() {
dobin "${S}"/bin/fleet
dobin "${S}"/bin/fleetctl
systemd_dounit "${FILESDIR}"/${PN}.service
}
|