summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-07-22 11:22:13 -0700
committerMatt Turner <mattst88@gentoo.org>2019-07-22 11:35:46 -0700
commitbbf87b340dc007fba1b4229d5569e8b4ae399436 (patch)
tree9628fe3d89eabeb9cfcf736ccc26629ff0a7401e /app-portage
parentsys-fs/udisks: arm64 stable (bug #687410) (diff)
downloadgentoo-bbf87b340dc007fba1b4229d5569e8b4ae399436.tar.gz
gentoo-bbf87b340dc007fba1b4229d5569e8b4ae399436.tar.bz2
gentoo-bbf87b340dc007fba1b4229d5569e8b4ae399436.zip
app-portage/no-distcc-env: New package
Bug: https://bugs.gentoo.org/669978 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/no-distcc-env/metadata.xml8
-rw-r--r--app-portage/no-distcc-env/no-distcc-env-9999.ebuild36
2 files changed, 44 insertions, 0 deletions
diff --git a/app-portage/no-distcc-env/metadata.xml b/app-portage/no-distcc-env/metadata.xml
new file mode 100644
index 000000000000..b58e8386fcb2
--- /dev/null
+++ b/app-portage/no-distcc-env/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mattst88@gentoo.org</email>
+ <name>Matt Turner</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-portage/no-distcc-env/no-distcc-env-9999.ebuild b/app-portage/no-distcc-env/no-distcc-env-9999.ebuild
new file mode 100644
index 000000000000..3a4ae008947a
--- /dev/null
+++ b/app-portage/no-distcc-env/no-distcc-env-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+fi
+
+inherit ${GIT_ECLASS}
+
+DESCRIPTION="package.env files to disable distcc on a per-package basis"
+HOMEPAGE="https://gitweb.gentoo.org/proj/no-distcc-env.git/"
+if [[ ${PV} = 9999* ]]; then
+ SRC_URI=""
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+ SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="public-domain"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ default
+ [[ $PV = 9999* ]] && git-r3_src_unpack
+}
+
+src_install() {
+ insinto /etc/portage
+ doins -r "${WORKDIR}/${P}"/env
+ doins -r "${WORKDIR}/${P}"/package.env
+}