From e476f9e79d4dcb696b6c3dc5934804257ebc4e42 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 10 Apr 2008 03:40:41 +0000 Subject: Adding a new hwdata-gentoo for testing. svn path=/; revision=172 --- sys-apps/hwdata-gentoo/Manifest | 2 ++ sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild | 40 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 sys-apps/hwdata-gentoo/Manifest create mode 100644 sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild diff --git a/sys-apps/hwdata-gentoo/Manifest b/sys-apps/hwdata-gentoo/Manifest new file mode 100644 index 0000000..97c74bf --- /dev/null +++ b/sys-apps/hwdata-gentoo/Manifest @@ -0,0 +1,2 @@ +DIST hwdata-gentoo-0.4.tar.bz2 149060 RMD160 5f6ce2dfc851fcc8fb703945a9bc232fa41326f9 SHA1 5f6fa951b90b25f90031bbf24165d2252b6b4cc6 SHA256 f3bf3853f33cc20be56770f742428fb29ca97769c5984ad80093d2020136918e +EBUILD hwdata-gentoo-0.4.ebuild 961 RMD160 33981d1d9394f6e94c36642eff3e3f7c8f1c9ab1 SHA1 36c44a937327686b9edf9f3d98725401aebdc9b5 SHA256 f411838e249fe06d81a1a04948ad6f70eb03e072feb8c44b3f2682d0dcf272b9 diff --git a/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild new file mode 100644 index 0000000..de444b4 --- /dev/null +++ b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwdata-gentoo/hwdata-gentoo-0.3.ebuild,v 1.4 2006/09/05 23:36:01 dberkholz Exp $ + +inherit eutils + +DESCRIPTION="Data for the hwsetup program" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~wolf31o2/sources/hwdata-gentoo/${P}.tar.bz2" +HOMEPAGE="http://www.gentoo.org" + +IUSE="opengl binary-drivers" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="!sys-apps/hwdata + !sys-apps/hwdata-knoppix + !sys-apps/hwdata-redhat" + +src_unpack() { + unpack ${A} + if use x86 || use amd64 + then + if use opengl && use binary-drivers + then + continue + else + sed -e 's/DRIVER fglrx/DRIVER radeon/' \ + -e 's/DRIVER nvidia/DRIVER nv/' \ + -i Cards + fi + fi +} + +src_install() { + dodoc ChangeLog check-cards + insinto /usr/share/hwdata + doins Cards MonitorsDB pcitable blacklist +} -- cgit v1.2.3-65-gdbad