Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/hwids: hwids-20130329.ebuild ChangeLog hwids-20130326.1.ebuild hwids-20130309.ebuild hwids-20130309-r1.ebuild
Date: Fri, 29 Mar 2013 09:12:31
Message-Id: 20130329091227.592382171D@flycatcher.gentoo.org
1 flameeyes 13/03/29 09:12:27
2
3 Modified: ChangeLog
4 Added: hwids-20130329.ebuild
5 Removed: hwids-20130326.1.ebuild hwids-20130309.ebuild
6 hwids-20130309-r1.ebuild
7 Log:
8 Bump to latest update.
9
10 (Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
11
12 Revision Changes Path
13 1.94 sys-apps/hwids/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.94&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.94&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.93&r2=1.94
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
22 retrieving revision 1.93
23 retrieving revision 1.94
24 diff -u -r1.93 -r1.94
25 --- ChangeLog 26 Mar 2013 21:10:44 -0000 1.93
26 +++ ChangeLog 29 Mar 2013 09:12:27 -0000 1.94
27 @@ -1,6 +1,12 @@
28 # ChangeLog for sys-apps/hwids
29 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.93 2013/03/26 21:10:44 ssuominen Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.94 2013/03/29 09:12:27 flameeyes Exp $
32 +
33 +*hwids-20130329 (29 Mar 2013)
34 +
35 + 29 Mar 2013; Diego E. Pettenò <flameeyes@g.o> +hwids-20130329.ebuild,
36 + -hwids-20130309-r1.ebuild, -hwids-20130309.ebuild, -hwids-20130326.1.ebuild:
37 + Bump to latest update.
38
39 *hwids-20130326.1 (26 Mar 2013)
40
41
42
43
44 1.1 sys-apps/hwids/hwids-20130329.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20130329.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20130329.ebuild?rev=1.1&content-type=text/plain
48
49 Index: hwids-20130329.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130329.ebuild,v 1.1 2013/03/29 09:12:27 flameeyes Exp $
54
55 EAPI=5
56 inherit udev eutils
57
58 DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
59 HOMEPAGE="https://github.com/gentoo/hwids"
60 SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
61
62 LICENSE="|| ( GPL-2 BSD ) public-domain"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
65 IUSE="+udev"
66
67 DEPEND="udev? (
68 dev-lang/perl
69 >=virtual/udev-197-r1
70 )"
71 RDEPEND="!<sys-apps/pciutils-3.1.9-r2
72 !<sys-apps/usbutils-005-r1"
73
74 S=${WORKDIR}/hwids-${P}
75
76 src_prepare() {
77 sed -i -e '/udevadm hwdb/d' Makefile || die
78 }
79
80 src_compile() {
81 emake UDEV=$(usex udev)
82 }
83
84 src_install() {
85 emake UDEV=$(usex udev) install \
86 DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
87 MISCDIR="${EPREFIX}/usr/share/misc" \
88 HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
89 DESTDIR="${D}"
90 }
91
92 pkg_postinst() {
93 use udev && udevadm hwdb --update --root="${ROOT%/}"
94 }