mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
sys-apps/biosdevname: use autotools.eclass
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit udev
|
||||
inherit autotools udev
|
||||
|
||||
DESCRIPTION="Sets BIOS-given device names instead of kernel eth* names"
|
||||
HOMEPAGE="http://linux.dell.com/biosdevname/"
|
||||
@@ -12,12 +12,10 @@ SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="virtual/udev"
|
||||
DEPEND="${CDEPEND}
|
||||
RDEPEND="virtual/udev"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/pciutils"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
@@ -25,5 +23,5 @@ src_prepare() {
|
||||
sed -i -e 's|/sbin/biosdevname|/usr\0|g' biosdevname.rules.in || die
|
||||
sed -i -e "/RULEDEST/s:/lib/udev:$(get_udevdir):" configure.ac || die
|
||||
|
||||
./autogen.sh --no-configure || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user