diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-16 17:34:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-16 17:34:21 +0000 |
commit | 02e2208f46f4e2c00fb9743cbc47350bdd233bfa (patch) | |
tree | 132dd60828854db4f65f30f9230f43d9602507ff /app-portage/grs/grs-9999.ebuild | |
parent | 8be70107efbb417f839292165ee39d07a062046f (diff) |
gentoo resync : 16.01.2018
Diffstat (limited to 'app-portage/grs/grs-9999.ebuild')
-rw-r--r-- | app-portage/grs/grs-9999.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild index 5e16f8b436e0..abf196bc0732 100644 --- a/app-portage/grs/grs-9999.ebuild +++ b/app-portage/grs/grs-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -6,12 +6,16 @@ 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" - KEYWORDS="~amd64" + 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" @@ -50,4 +54,8 @@ 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 } |