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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 17 15:47:55 2012 UTC (2 years, 1 month ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump and remove old.

(Portage version: 2.2.0_alpha128/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-20120730.ebuild,v 1.1 2012/07/31 02:20:14 flameeyes Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Hardware (PCI, USB) IDs databases"
8 HOMEPAGE="https://github.com/gentoo/hwids"
9 SRC_URI="https://github.com/gentoo/hwids/tarball/${P} -> ${P}.tar.gz"
10
11 LICENSE="|| ( GPL-2 BSD )"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND="!<sys-apps/pciutils-3.1.9-r2
18 !<sys-apps/usbutils-005-r1"
19
20 S="${WORKDIR}"
21
22 src_compile() {
23 cd "${S}"/gentoo-hwids-*
24
25 for file in {usb,pci}.ids; do
26 gzip -c ${file} > ${file}.gz || die
27 done
28 }
29
30 src_install() {
31 cd "${S}"/gentoo-hwids-*
32
33 insinto /usr/share/misc
34 doins {usb,pci}.ids{,.gz}
35
36 dodoc README.md
37 }

  ViewVC Help
Powered by ViewVC 1.1.20