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-20121227.ebuild ChangeLog hwids-20121225.ebuild
Date: Mon, 31 Dec 2012 13:12:48
Message-Id: 20121231131238.AADCF2171D@flycatcher.gentoo.org
1 flameeyes 12/12/31 13:12:38
2
3 Modified: ChangeLog
4 Added: hwids-20121227.ebuild
5 Removed: hwids-20121225.ebuild
6 Log:
7 Version bump (no update in a few days). Solve bug #446578 while at it.
8
9 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.60 sys-apps/hwids/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.60&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.60&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.59&r2=1.60
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
21 retrieving revision 1.59
22 retrieving revision 1.60
23 diff -u -r1.59 -r1.60
24 --- ChangeLog 29 Dec 2012 17:31:55 -0000 1.59
25 +++ ChangeLog 31 Dec 2012 13:12:38 -0000 1.60
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-apps/hwids
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.59 2012/12/29 17:31:55 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.60 2012/12/31 13:12:38 flameeyes Exp $
31 +
32 +*hwids-20121227 (31 Dec 2012)
33 +
34 + 31 Dec 2012; Diego E. Pettenò <flameeyes@g.o> +hwids-20121227.ebuild,
35 + -hwids-20121225.ebuild:
36 + Version bump (no update in a few days). Solve bug #446578 while at it.
37
38 29 Dec 2012; Raúl Porcel <armin76@g.o> hwids-20121119.ebuild:
39 alpha/m68k/s390/sh/sparc stable wrt #436186
40
41
42
43 1.1 sys-apps/hwids/hwids-20121227.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121227.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121227.ebuild?rev=1.1&content-type=text/plain
47
48 Index: hwids-20121227.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121227.ebuild,v 1.1 2012/12/31 13:12:38 flameeyes Exp $
53
54 EAPI=5
55 inherit udev
56
57 DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
58 HOMEPAGE="https://github.com/gentoo/hwids"
59 SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
60
61 LICENSE="|| ( GPL-2 BSD ) public-domain"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
64 IUSE="+udev"
65
66 DEPEND="udev? ( dev-lang/perl !=sys-fs/udev-196 )"
67 RDEPEND="!<sys-apps/pciutils-3.1.9-r2
68 !<sys-apps/usbutils-005-r1"
69
70 S=${WORKDIR}/hwids-${P}
71
72 src_compile() {
73 emake UDEV=$(usex udev)
74 }
75
76 src_install() {
77 emake UDEV=$(usex udev) install \
78 DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
79 MISCDIR="${EPREFIX}/usr/share/misc" \
80 HWDBDIR="${EPREFIX}$(udev_get_udevdir)/hwdb.d" \
81 DESTDIR="${D}"
82 }
83
84 pkg_postinst() {
85 # until udev introduces a way to compile the database at a given
86 # location, rather than just /, we can't do much on offset root.
87 if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
88 return 0
89 fi
90
91 if use udev && [[ $(udevadm --help 2>&1) == *hwdb* ]]; then
92 udevadm hwdb --update
93 fi
94 }