sys-power/cpupower: fix SRC_URI
authorMike Gilbert <floppym@gentoo.org>
Thu, 2 Jun 2016 19:21:51 +0000 (15:21 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 2 Jun 2016 19:22:17 +0000 (15:22 -0400)
Package-Manager: portage-2.3.0_rc1_p14

sys-power/cpupower/cpupower-4.2.ebuild

index e16df53495461bf30575234b3e5ff92241b65ded..d55dadabb49a58b718611ad07a81fc3f68e1ae27 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ inherit eutils multilib toolchain-funcs
 
 DESCRIPTION="Shows and sets processor power related values"
 HOMEPAGE="https://www.kernel.org/"
-SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
+SRC_URI="mirror://kernel/linux/kernel/v${PV%%.*}.x/linux-${PV}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"