forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grs-0.4.ebuild
45 lines (37 loc) · 867 Bytes
/
grs-0.4.ebuild
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
37
38
39
40
41
42
43
44
45
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python3_4 )
inherit distutils-r1
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://anongit.gentoo.org/proj/grss.git"
inherit git-2
else
SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Suite to build Gentoo Reference Systems"
HOMEPAGE="https://dev.gentoo.org/~blueness/${PN}"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="
app-arch/tar[xattr]
app-crypt/md5deep
dev-libs/libcgroup
dev-vcs/git
net-misc/rsync
sys-apps/portage
sys-fs/squashfs-tools
virtual/cdrtools
|| (
sys-kernel/genkernel
sys-kernel/genkernel-next
)"
src_install() {
distutils-r1_src_install
echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs
doenvd "${T}"/20grs
}