summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/genkernel/genkernel-3.5.2.5.ebuild')
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.2.5.ebuild20
1 files changed, 6 insertions, 14 deletions
diff --git a/sys-kernel/genkernel/genkernel-3.5.2.5.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.5.ebuild
index 412593ca9044..a4053e311118 100644
--- a/sys-kernel/genkernel/genkernel-3.5.2.5.ebuild
+++ b/sys-kernel/genkernel/genkernel-3.5.2.5.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
# genkernel-9999 -> latest Git branch "master"
@@ -6,6 +6,8 @@
EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
+inherit bash-completion-r1 epatch
+
VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
if [[ ${PV} == 9999* ]]
then
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
- https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-2 bash-completion-r1 eutils
- S="${WORKDIR}/${PN}"
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-r3
+ S="${WORKDIR}/${P}"
SRC_URI="${COMMON_URI}"
else
- inherit bash-completion-r1 eutils
SRC_URI="mirror://gentoo/${P}.tar.xz
${COMMON_URI}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
fi
}
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- unpack ${P}.tar.xz
- fi
-}
-
src_prepare() {
if [[ ${PV} == 9999* ]] ; then
einfo "Updating version tag"