/[gentoo-x86]/sys-apps/hwids/hwids-99999999.ebuild
Gentoo

Contents of /sys-apps/hwids/hwids-99999999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 16 12:51:59 2012 UTC (2 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +2 -2 lines
Update to use the new GitHub repository in the gentoo organisation.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.1 2012/04/01 01:46:52 flameeyes Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Hardware (PCI, USB) IDs databases"
8 HOMEPAGE="https://github.com/gentoo/hwids"
9
10 LICENSE="|| ( GPL-2 BSD )"
11 SLOT="0"
12 KEYWORDS=""
13 IUSE=""
14
15 S="${WORKDIR}"
16
17 DEPEND="net-misc/wget"
18 RDEPEND="!<sys-apps/pciutils-3.1.9-r2
19 !<sys-apps/usbutils-005-r1"
20
21 src_compile() {
22 wget http://pci-ids.ucw.cz/v2.2/pci.ids.gz http://www.linux-usb.org/usb.ids.gz || die
23
24 for file in {usb,pci}.ids; do
25 zcat ${file}.gz > ${file} || die
26 done
27 }
28
29 src_install() {
30 insinto /usr/share/misc
31 doins {usb,pci}.ids{,.gz}
32 }

  ViewVC Help
Powered by ViewVC 1.1.20