summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-07-12 13:03:25 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-07-12 17:26:41 +0200
commit60083908653a81473863e4e725ff59d5177de2f1 (patch)
tree11b60613bce1554f56a7f4b66d91852d7a05d82b
parentsys-apps/kexec-tools: Bump to version 2.0.20_rc1 (diff)
downloadgentoo-60083908653a81473863e4e725ff59d5177de2f1.tar.gz
gentoo-60083908653a81473863e4e725ff59d5177de2f1.tar.bz2
gentoo-60083908653a81473863e4e725ff59d5177de2f1.zip
sys-apps/kexec-tools: Synced live ebuild
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-apps/kexec-tools/kexec-tools-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
index d9c36c6dcf7b..a96230eff795 100644
--- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic libtool linux-info systemd
@@ -9,7 +9,8 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3 autotools
EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git"
else
- SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
+ SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P/_/-}.tar.xz"
+ [[ "${PV}" == *_rc* ]] || \
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
@@ -27,6 +28,8 @@ DEPEND="
zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"
+S="${WORKDIR}/${P/_/-}"
+
CONFIG_CHECK="~KEXEC"
PATCHES=(
@@ -41,7 +44,7 @@ pkg_setup() {
src_prepare() {
default
- if [[ ${PV} == "9999" ]] ; then
+ if [[ "${PV}" == 9999 ]] ; then
eautoreconf
else
elibtoolize