diff options
author | 2013-05-14 22:35:19 +0000 | |
---|---|---|
committer | 2013-05-14 22:35:19 +0000 | |
commit | 63edcc1bc21e175ddee5d43ad8688fba3d6a661c (patch) | |
tree | 350fbd518a0d9c8afea8b58e76b26619156b71e1 /sys-apps/hwids | |
parent | Version (diff) | |
download | gentoo-2-63edcc1bc21e175ddee5d43ad8688fba3d6a661c.tar.gz gentoo-2-63edcc1bc21e175ddee5d43ad8688fba3d6a661c.tar.bz2 gentoo-2-63edcc1bc21e175ddee5d43ad8688fba3d6a661c.zip |
Version bump.
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'sys-apps/hwids')
-rw-r--r-- | sys-apps/hwids/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/hwids/hwids-20130514.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/sys-apps/hwids/ChangeLog b/sys-apps/hwids/ChangeLog index 3ff7a1ee241e..56cf129e583b 100644 --- a/sys-apps/hwids/ChangeLog +++ b/sys-apps/hwids/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/hwids # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.105 2013/04/13 20:52:04 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.106 2013/05/14 22:35:19 flameeyes Exp $ + +*hwids-20130514 (14 May 2013) + + 14 May 2013; Diego E. Pettenò <flameeyes@gentoo.org> +hwids-20130514.ebuild: + Version bump. 13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> hwids-20130329.ebuild: Stable for s390, wrt bug #463678 diff --git a/sys-apps/hwids/hwids-20130514.ebuild b/sys-apps/hwids/hwids-20130514.ebuild new file mode 100644 index 000000000000..8236cfafa489 --- /dev/null +++ b/sys-apps/hwids/hwids-20130514.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130514.ebuild,v 1.1 2013/05/14 22:35:19 flameeyes Exp $ + +EAPI=5 +inherit udev eutils + +DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases" +HOMEPAGE="https://github.com/gentoo/hwids" +SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz" + +LICENSE="|| ( GPL-2 BSD ) public-domain" +SLOT="0" +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" +IUSE="+udev" + +DEPEND="udev? ( + dev-lang/perl + >=virtual/udev-197-r1 +)" +RDEPEND="!<sys-apps/pciutils-3.1.9-r2 + !<sys-apps/usbutils-005-r1" + +S=${WORKDIR}/hwids-${P} + +src_prepare() { + sed -i -e '/udevadm hwdb/d' Makefile || die +} + +src_compile() { + emake UDEV=$(usex udev) +} + +src_install() { + emake UDEV=$(usex udev) install \ + DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ + MISCDIR="${EPREFIX}/usr/share/misc" \ + HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \ + DESTDIR="${D}" +} + +pkg_postinst() { + use udev && udevadm hwdb --update --root="${ROOT%/}" +} |