blob: d68cec20ee7475e8d0ec1bd503a4ffd48aa90e2f (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libpciaccess/libpciaccess-0.12.0.ebuild,v 1.5 2010/12/25 20:35:53 fauli Exp $
EAPI=3
inherit xorg-2
DESCRIPTION="Library providing generic access to the PCI bus and devices"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
IUSE="minimal zlib"
DEPEND="zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"
pkg_setup() {
xorg-2_pkg_setup
CONFIGURE_OPTIONS="$(use_with zlib)
--with-pciids-path=/usr/share/misc"
}
src_install() {
xorg-2_src_install
use minimal || { dobin src/.libs/scanpci || die ; }
}
|