From 193472cfa5e16ca52a11b5bd7d0be6dbf2b7acec Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Mon, 22 Oct 2012 16:13:32 -0700 Subject: [PATCH] Add the hwids Portage package. Add sys-apps/hwids, version 20121022 on amd64 BUG=chrome-os-partner:11327 BUG=chromium-os:33226 TEST=manual, build image + test lsusb / lspci Change-Id: I90769f03fbf9af1d82a8a5a74a1a5d7e67fc2902 Reviewed-on: https://gerrit.chromium.org/gerrit/36281 Reviewed-by: Mike Frysinger Tested-by: Shawn Nematbakhsh Commit-Ready: Shawn Nematbakhsh --- .../md5-cache/sys-apps/hwids-20120922 | 10 +++++ .../portage-stable/sys-apps/hwids/Manifest | 1 + .../sys-apps/hwids/hwids-20120922.ebuild | 37 +++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/hwids-20120922 create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/hwids/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/hwids/hwids-20120922.ebuild diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/hwids-20120922 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/hwids-20120922 new file mode 100644 index 0000000000..ad855d18f3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/hwids-20120922 @@ -0,0 +1,10 @@ +DEFINED_PHASES=compile install +DESCRIPTION=Hardware (PCI, USB) IDs databases +EAPI=4 +HOMEPAGE=https://github.com/gentoo/hwids +KEYWORDS=~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux +LICENSE=|| ( GPL-2 BSD ) +RDEPEND=! hwids-20120922.tar.gz +_md5_=d231d5daab95187158aeea69e57a48fc diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/hwids/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/hwids/Manifest new file mode 100644 index 0000000000..47e513e8b1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/hwids/Manifest @@ -0,0 +1 @@ +DIST hwids-20120922.tar.gz 373379 RMD160 4e8e4c726b4eabdf97c919ccd95704dca7d1b093 SHA1 32ae7895e5fe01ca4424d7e19fd4e6145ce93bd9 SHA256 7152b59b85c66f114436470319067685cd0cb9ecf37f051aef94cfdb15306297 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/hwids/hwids-20120922.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/hwids/hwids-20120922.ebuild new file mode 100644 index 0000000000..0741c46f54 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/hwids/hwids-20120922.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20120922.ebuild,v 1.4 2012/10/02 12:53:52 blueness Exp $ + +EAPI="4" + +DESCRIPTION="Hardware (PCI, USB) IDs databases" +HOMEPAGE="https://github.com/gentoo/hwids" +SRC_URI="https://github.com/gentoo/hwids/tarball/${P} -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 BSD )" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="" +RDEPEND="! ${file}.gz || die + done +} + +src_install() { + cd "${S}"/gentoo-hwids-* + + insinto /usr/share/misc + doins {usb,pci}.ids{,.gz} + + dodoc README.md +}