summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-14 00:58:30 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-14 00:58:30 +0000
commiteba76ce55d6ac030b3f9620138093bf75dce1147 (patch)
tree75352cbef07d743e761f70f1fc286052d476e421 /sys-apps
parentdocument upstream URL (diff)
downloadhistorical-eba76ce55d6ac030b3f9620138093bf75dce1147.tar.gz
historical-eba76ce55d6ac030b3f9620138093bf75dce1147.tar.bz2
historical-eba76ce55d6ac030b3f9620138093bf75dce1147.zip
Version bump #332583 by Samuli Suominen.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/usbutils/ChangeLog7
-rw-r--r--sys-apps/usbutils/usbutils-0.90.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog
index e66c4d03b15f..0f6547187f4a 100644
--- a/sys-apps/usbutils/ChangeLog
+++ b/sys-apps/usbutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/usbutils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.99 2010/04/25 18:02:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.100 2010/08/14 00:58:30 vapier Exp $
+
+*usbutils-0.90 (14 Aug 2010)
+
+ 14 Aug 2010; Mike Frysinger <vapier@gentoo.org> +usbutils-0.90.ebuild:
+ Version bump #332583 by Samuli Suominen.
25 Apr 2010; Alexis Ballier <aballier@gentoo.org> usbutils-0.87.ebuild,
+files/usbutils-0.87-fbsd.patch:
diff --git a/sys-apps/usbutils/usbutils-0.90.ebuild b/sys-apps/usbutils/usbutils-0.90.ebuild
new file mode 100644
index 000000000000..e0bf47f4d6e3
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-0.90.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.90.ebuild,v 1.1 2010/08/14 00:58:30 vapier Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+DESCRIPTION="USB enumeration utilities"
+HOMEPAGE="http://linux-usb.sourceforge.net/"
+SRC_URI="mirror://kernel/linux/utils/usb/usbutils/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="network-cron zlib"
+
+RDEPEND="virtual/libusb:0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.87-fbsd.patch #275052 #316671
+ sed -i '/^pkgconfigdir/s:datadir:datarootdir:' Makefile.am #287206
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --datarootdir=/usr/share \
+ --datadir=/usr/share/misc \
+ $(use_enable zlib)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ mv "${D}"/usr/sbin/update-usbids{.sh,} || die
+ newbin "${FILESDIR}"/usbmodules.sh usbmodules || die
+ dodoc AUTHORS ChangeLog NEWS README
+
+ use network-cron || return 0
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/usbutils.cron update-usbids || die
+}