diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-portage/grs/grs-9999.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-portage/grs/grs-9999.ebuild')
-rw-r--r-- | app-portage/grs/grs-9999.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild new file mode 100644 index 000000000000..aa1fb650569d --- /dev/null +++ b/app-portage/grs/grs-9999.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 linux-info + +ISO="ISO-1.tar.gz" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/grss.git" + SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${ISO}" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz + https://dev.gentoo.org/~blueness/${PN}/${ISO}" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Suite to build Gentoo Reference Systems" +HOMEPAGE="https://dev.gentoo.org/~blueness/${PN}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="server" + +DEPEND="" +RDEPEND=" + || ( + sys-apps/portage + sys-apps/portage-mgorny + ) + server? ( + app-arch/tar[xattr] + app-crypt/md5deep + dev-libs/libcgroup + dev-vcs/git + net-misc/rsync + sys-fs/squashfs-tools + virtual/cdrtools + || ( + sys-kernel/genkernel + sys-kernel/genkernel-next + ) + )" + +pkg_setup() { + if use server; then + local CONFIG_CHECK="~CGROUPS" + local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel." + linux-info_pkg_setup + fi +} + +src_install() { + distutils-r1_src_install + echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs + doenvd "${T}"/20grs + if use server; then + mkdir ${D}/usr/share/${PN} + cp "${DISTDIR}"/${ISO} ${D}/usr/share/${PN} + fi +} |