diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-05-23 14:35:44 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-05-23 14:35:44 +0000 |
commit | 74d8d91fab6b5df92b98951948ef6e66d7ecb5cc (patch) | |
tree | afea684fc92cf55b3c9d13b741b60f37316fcf3c /sys-apps/hwids | |
parent | amd64 stable (diff) | |
download | gentoo-2-74d8d91fab6b5df92b98951948ef6e66d7ecb5cc.tar.gz gentoo-2-74d8d91fab6b5df92b98951948ef6e66d7ecb5cc.tar.bz2 gentoo-2-74d8d91fab6b5df92b98951948ef6e66d7ecb5cc.zip |
Version bump.
(Portage version: 2.2.0_alpha176/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-20130523.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/sys-apps/hwids/ChangeLog b/sys-apps/hwids/ChangeLog index 56cf129e583b..9ed742669259 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.106 2013/05/14 22:35:19 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.107 2013/05/23 14:35:44 flameeyes Exp $ + +*hwids-20130523 (23 May 2013) + + 23 May 2013; Diego E. Pettenò <flameeyes@gentoo.org> +hwids-20130523.ebuild: + Version bump. *hwids-20130514 (14 May 2013) diff --git a/sys-apps/hwids/hwids-20130523.ebuild b/sys-apps/hwids/hwids-20130523.ebuild new file mode 100644 index 000000000000..7bc712d2abf7 --- /dev/null +++ b/sys-apps/hwids/hwids-20130523.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-20130523.ebuild,v 1.1 2013/05/23 14:35:44 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%/}" +} |