summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-04-11 00:08:33 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-04-11 00:08:33 +0000
commit9a8e369bd36b53835c6e1afef04e2e675e16ef3b (patch)
tree1fe2ab96151eb28b0f554fccdef18b7d56cb2db2 /x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild
parentFix typo: REDEPEND -> RDEPEND. (diff)
downloadhistorical-9a8e369bd36b53835c6e1afef04e2e675e16ef3b.tar.gz
historical-9a8e369bd36b53835c6e1afef04e2e675e16ef3b.tar.bz2
historical-9a8e369bd36b53835c6e1afef04e2e675e16ef3b.zip
Version bump.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild')
-rw-r--r--x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild b/x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild
new file mode 100644
index 000000000000..c015b59c569b
--- /dev/null
+++ b/x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libpciaccess/libpciaccess-0.13.1.ebuild,v 1.1 2012/04/11 00:08:33 chithanh Exp $
+
+EAPI=4
+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 ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal zlib"
+
+DEPEND="!<x11-base/xorg-server-1.5
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ xorg-2_pkg_setup
+
+ XORG_CONFIGURE_OPTIONS=(
+ "$(use_with zlib)"
+ "--with-pciids-path=${EPREFIX}/usr/share/misc"
+ )
+}
+
+src_install() {
+ xorg-2_src_install
+ if ! use minimal; then
+ dodir /usr/bin || die
+ ${BASH} "${AUTOTOOLS_BUILD_DIR:-${S}}/libtool" --mode=install "$(type -P install)" -c "${AUTOTOOLS_BUILD_DIR:-${S}}/scanpci/scanpci" "${ED}"/usr/bin || die
+ fi
+}