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-20140602.ebuild ChangeLog
Date: Mon, 02 Jun 2014 11:58:40
Message-Id: 20140602115835.0A69D2004E@flycatcher.gentoo.org
1 flameeyes 14/06/02 11:58:34
2
3 Modified: ChangeLog
4 Added: hwids-20140602.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
9
10 Revision Changes Path
11 1.143 sys-apps/hwids/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.143&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.143&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.142&r2=1.143
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
20 retrieving revision 1.142
21 retrieving revision 1.143
22 diff -u -r1.142 -r1.143
23 --- ChangeLog 30 May 2014 14:41:46 -0000 1.142
24 +++ ChangeLog 2 Jun 2014 11:58:34 -0000 1.143
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/hwids
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.142 2014/05/30 14:41:46 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.143 2014/06/02 11:58:34 flameeyes Exp $
30 +
31 +*hwids-20140602 (02 Jun 2014)
32 +
33 + 02 Jun 2014; Diego E. Pettenò <flameeyes@g.o> +hwids-20140602.ebuild:
34 + Version bump.
35
36 30 May 2014; Mike Frysinger <vapier@g.o> hwids-20140509.ebuild,
37 hwids-99999999.ebuild:
38
39
40
41 1.1 sys-apps/hwids/hwids-20140602.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140602.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140602.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hwids-20140602.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20140602.ebuild,v 1.1 2014/06/02 11:58:34 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 ~arm64 ~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-206
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 if use udev; then
91 udevadm hwdb --update --root="${ROOT%/}"
92 # http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
93 [ "${ROOT:-/}" = "/" ] && udevadm control --reload
94 fi
95 }