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