summaryrefslogtreecommitdiff
blob: c73c9081391ed5dd26deadd09a5a99b751fc6d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwdata/hwdata-0.158.ebuild,v 1.3 2006/07/27 14:51:14 wolf31o2 Exp $

inherit eutils

DESCRIPTION="Hardware information used by hwsetup and other utilities"
SRC_URI="mirror://gentoo/${P}.tar.gz
	http://dev.gentoo.org/~wolf31o2/sources/hwdata/${P}.tar.gz"
HOMEPAGE="http://www.knopper.net"

IUSE="livecd opengl"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
LICENSE="GPL-2"

DEPEND="!sys-apps/hwdata-gentoo"

src_unpack() {
	unpack ${A}
	use x86 && use livecd && use opengl && \
		epatch ${FILESDIR}/${P}-binary_drivers.patch
	use amd64 && use livecd && use opengl && \
		epatch ${FILESDIR}/${P}-binary_drivers_nv.patch
}

src_install() {
	insinto /usr/share/hwdata
	doins CardMonitorCombos Cards MonitorsDB pcitable upgradelist usb.ids \
	pci.ids
}