1 |
flameeyes 13/01/31 16:04:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hwids-20130131.ebuild |
5 |
Removed: hwids-20130123.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342) |
10 |
|
11 |
Revision Changes Path |
12 |
1.77 sys-apps/hwids/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.77&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.77&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.76&r2=1.77 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v |
21 |
retrieving revision 1.76 |
22 |
retrieving revision 1.77 |
23 |
diff -u -r1.76 -r1.77 |
24 |
--- ChangeLog 26 Jan 2013 21:32:10 -0000 1.76 |
25 |
+++ ChangeLog 31 Jan 2013 16:04:01 -0000 1.77 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-apps/hwids |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.76 2013/01/26 21:32:10 ssuominen Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.77 2013/01/31 16:04:01 flameeyes Exp $ |
31 |
+ |
32 |
+*hwids-20130131 (31 Jan 2013) |
33 |
+ |
34 |
+ 31 Jan 2013; Diego E. Pettenò <flameeyes@g.o> +hwids-20130131.ebuild, |
35 |
+ -hwids-20130123.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
26 Jan 2013; Samuli Suominen <ssuominen@g.o> -hwids-20121119.ebuild: |
39 |
old |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-apps/hwids/hwids-20130131.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20130131.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20130131.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: hwids-20130131.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130131.ebuild,v 1.1 2013/01/31 16:04:01 flameeyes Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit udev eutils |
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 ~x64-freebsd ~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 |
} |