summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-12 03:45:34 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-12 03:45:34 +0000
commit1179d033a399b3c7b76c5d2e83c5bf1e8dae0152 (patch)
tree92fa2d66e5c4c9e9d65a56fd63350cf55ade5758 /sys-apps
parentstable on mips to satisfy gnome 2.10 deps (diff)
downloadgentoo-2-1179d033a399b3c7b76c5d2e83c5bf1e8dae0152.tar.gz
gentoo-2-1179d033a399b3c7b76c5d2e83c5bf1e8dae0152.tar.bz2
gentoo-2-1179d033a399b3c7b76c5d2e83c5bf1e8dae0152.zip
Version bump #80268 by Keri Harris and Douglas Russell.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/usbutils/ChangeLog9
-rw-r--r--sys-apps/usbutils/files/digest-usbutils-0.711
-rw-r--r--sys-apps/usbutils/usbutils-0.71.ebuild47
3 files changed, 55 insertions, 2 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog
index fafb1271c9b8..58dd5b0cf769 100644
--- a/sys-apps/usbutils/ChangeLog
+++ b/sys-apps/usbutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/usbutils
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.37 2005/05/09 11:09:28 liquidx Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.38 2005/07/12 03:45:34 vapier Exp $
+
+*usbutils-0.71 (12 Jul 2005)
+
+ 12 Jul 2005; Mike Frysinger <vapier@gentoo.org> +usbutils-0.71.ebuild:
+ Version bump #80268 by Keri Harris and Douglas Russell.
*usbutils-0.11-r6 (08 May 2005)
diff --git a/sys-apps/usbutils/files/digest-usbutils-0.71 b/sys-apps/usbutils/files/digest-usbutils-0.71
new file mode 100644
index 000000000000..53fcaeb741e9
--- /dev/null
+++ b/sys-apps/usbutils/files/digest-usbutils-0.71
@@ -0,0 +1 @@
+MD5 479d7c7098ef44cc95e7978fd71c712c usbutils-0.71.tar.gz 163811
diff --git a/sys-apps/usbutils/usbutils-0.71.ebuild b/sys-apps/usbutils/usbutils-0.71.ebuild
new file mode 100644
index 000000000000..d1819152f08c
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-0.71.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.71.ebuild,v 1.1 2005/07/12 03:45:34 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="USB enumeration utilities"
+HOMEPAGE="http://linux-usb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/linux-usb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-libs/libusb"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # put usb.ids in same place as pci.ids (/usr/share/misc)
+ sed -i \
+ -e 's:/usr/share/usb.ids:/usr/share/misc/usb.ids:' \
+ lsusb.8 || die "sed lsusb.8"
+ sed -e '/^DEST=/s:=usb.ids:=/usr/share/misc/usb.ids:' \
+ update-usbids.sh > update-usbids
+
+ # replace usb.ids with an updated version
+ ebegin "Updating usb.ids"
+ ./update-usbids.sh &> /dev/null
+ eend 0
+}
+
+src_compile() {
+ econf \
+ --datadir=/usr/share/misc \
+ --enable-usbmodules \
+ || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dosbin update-usbids || die "update-usbids failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}