29 lines
654 B
Bash
29 lines
654 B
Bash
# 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.3.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
|
|
}
|