summaryrefslogtreecommitdiff
blob: 796304957fa8a964be75ebfd21ef70f82f4013ad (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
36
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit python

DESCRIPTION="Funtoo boot-update provides a unified mechanism for configuring the GRUB boot loaders."
HOMEPAGE="http://www.funtoo.org/en/funtoo/core/boot/"
SRC_URI="http://www.funtoo.org/archive/${PN}/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	dev-lang/python
	sys-boot/grub"

src_install() {
	dosbin sbin/boot-update

	insinto $(python_get_sitedir)
	doins -r python/modules/*

	insinto /etc
	newins etc/boot.conf.example boot.conf

	doman doc/boot.conf.5 doc/boot-update.8
	dodoc doc/boot.conf.5.rst doc/boot-update.8.rst

	dodoc README.rst TODO etc/boot.conf.example
}