summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2019-07-07 22:56:47 +0100
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2019-07-07 22:57:34 +0100
commit245e35e5659c5f951e08509d482226f370c2f908 (patch)
tree713fda22da6256d3ca8ee1692aaef4cd09c8c432 /sys-apps/biosdevname/biosdevname-0.7.3.ebuild
parentapp-text/dbacl: Bump version (diff)
downloadgentoo-245e35e5659c5f951e08509d482226f370c2f908.tar.gz
gentoo-245e35e5659c5f951e08509d482226f370c2f908.tar.bz2
gentoo-245e35e5659c5f951e08509d482226f370c2f908.zip
sys-apps/biosdevname: Bump version
This version has not been updated for so long, because upstream put it on GitHub rather then its homepage. Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Diffstat (limited to 'sys-apps/biosdevname/biosdevname-0.7.3.ebuild')
-rw-r--r--sys-apps/biosdevname/biosdevname-0.7.3.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/biosdevname/biosdevname-0.7.3.ebuild b/sys-apps/biosdevname/biosdevname-0.7.3.ebuild
new file mode 100644
index 000000000000..e1c84918e59e
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.7.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit udev
+
+DESCRIPTION="Sets BIOS-given device names instead of kernel eth* names"
+HOMEPAGE="http://linux.dell.com/biosdevname/"
+SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="virtual/udev"
+DEPEND="${CDEPEND}
+ sys-apps/pciutils"
+RDEPEND="${CDEPEND}"
+
+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
+}