1 |
flameeyes 14/03/01 17:32:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hwids-20140228.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D4301342) |
9 |
|
10 |
Revision Changes Path |
11 |
1.135 sys-apps/hwids/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.135&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.135&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.134&r2=1.135 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v |
20 |
retrieving revision 1.134 |
21 |
retrieving revision 1.135 |
22 |
diff -u -r1.134 -r1.135 |
23 |
--- ChangeLog 6 Feb 2014 20:38:53 -0000 1.134 |
24 |
+++ ChangeLog 1 Mar 2014 17:32:54 -0000 1.135 |
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.134 2014/02/06 20:38:53 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.135 2014/03/01 17:32:54 flameeyes Exp $ |
30 |
+ |
31 |
+*hwids-20140228 (01 Mar 2014) |
32 |
+ |
33 |
+ 01 Mar 2014; Diego E. Pettenò <flameeyes@g.o> +hwids-20140228.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*hwids-20140206 (06 Feb 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/hwids/hwids-20140228.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140228.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140228.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: hwids-20140228.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-20140228.ebuild,v 1.1 2014/03/01 17:32:54 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 |
if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then |
94 |
return 0 |
95 |
fi |
96 |
udevadm control --reload |
97 |
fi |
98 |
} |