diff options
Diffstat (limited to 'x11-libs/libpciaccess/libpciaccess-0.11.0.ebuild')
-rw-r--r-- | x11-libs/libpciaccess/libpciaccess-0.11.0.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-libs/libpciaccess/libpciaccess-0.11.0.ebuild b/x11-libs/libpciaccess/libpciaccess-0.11.0.ebuild new file mode 100644 index 000000000000..874beb51200e --- /dev/null +++ b/x11-libs/libpciaccess/libpciaccess-0.11.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libpciaccess/libpciaccess-0.11.0.ebuild,v 1.1 2009/12/15 11:41:43 scarabeus Exp $ + +# Must be before x-modular eclass is inherited +#SNAPSHOT="yes" + +inherit x-modular + +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() { + CONFIGURE_OPTIONS="$(use_with zlib) + --with-pciids-path=/usr/share/misc" +} + +src_install() { + x-modular_src_install + if ! use minimal; then + dobin src/.libs/scanpci || die + fi +} |