aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-06-11 18:16:08 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-06-11 18:16:08 -0400
commit8eddda8072add075ebf56cf6d288bc1450d6b5f8 (patch)
tree373e2d36142a298a821f6643c097007aa38aa29f /x11-libs/libpciaccess/libpciaccess-0.13.3-r99.ebuild
downloadmusl-8eddda8072add075ebf56cf6d288bc1450d6b5f8.tar.gz
musl-8eddda8072add075ebf56cf6d288bc1450d6b5f8.tar.bz2
musl-8eddda8072add075ebf56cf6d288bc1450d6b5f8.zip
Initial migration from hardened-dev::musl
Diffstat (limited to 'x11-libs/libpciaccess/libpciaccess-0.13.3-r99.ebuild')
-rw-r--r--x11-libs/libpciaccess/libpciaccess-0.13.3-r99.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-libs/libpciaccess/libpciaccess-0.13.3-r99.ebuild b/x11-libs/libpciaccess/libpciaccess-0.13.3-r99.ebuild
new file mode 100644
index 00000000..5ae47749
--- /dev/null
+++ b/x11-libs/libpciaccess/libpciaccess-0.13.3-r99.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libpciaccess/libpciaccess-0.13.3.ebuild,v 1.4 2015/02/20 11:18:03 ago Exp $
+
+EAPI=5
+
+XORG_MULTILIB=yes
+inherit xorg-2
+
+DESCRIPTION="Library providing generic access to the PCI bus and devices"
+KEYWORDS="amd64 ~arm ~mips ppc x86"
+IUSE="minimal zlib"
+
+DEPEND="!<x11-base/xorg-server-1.5
+ zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+ sys-apps/hwids"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.13.2-limits.patch
+ "${FILESDIR}"/${PN}-0.13.2-arm.patch
+)
+
+pkg_setup() {
+ xorg-2_pkg_setup
+
+ XORG_CONFIGURE_OPTIONS=(
+ "$(use_with zlib)"
+ "--with-pciids-path=${EPREFIX}/usr/share/misc"
+ )
+}
+
+multilib_src_install() {
+ default
+
+ if multilib_is_native_abi; then
+ dodir /usr/bin
+ ${BASH} libtool --mode=install "$(type -P install)" -c scanpci/scanpci "${ED}"/usr/bin || die
+ fi
+}