summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2003-06-04 20:48:41 +0000
committerHanno Böck <hanno@gentoo.org>2003-06-04 20:48:41 +0000
commitb6c284474dc1c900e524401a1ec78363382de685 (patch)
tree6e231dabe794950da48ef4e41caa99fa85829ac8 /sys-apps/usbutils
parentUpdating to 20030525, adding architectures (diff)
downloadgentoo-2-b6c284474dc1c900e524401a1ec78363382de685.tar.gz
gentoo-2-b6c284474dc1c900e524401a1ec78363382de685.tar.bz2
gentoo-2-b6c284474dc1c900e524401a1ec78363382de685.zip
added updating usb.ids-possibility to usbutils-ebuild
Diffstat (limited to 'sys-apps/usbutils')
-rw-r--r--sys-apps/usbutils/ChangeLog7
-rw-r--r--sys-apps/usbutils/Manifest4
-rw-r--r--sys-apps/usbutils/files/digest-usbutils-0.11-r11
-rw-r--r--sys-apps/usbutils/usbutils-0.11-r1.ebuild38
4 files changed, 48 insertions, 2 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog
index 722e39cb281e..345d832d1578 100644
--- a/sys-apps/usbutils/ChangeLog
+++ b/sys-apps/usbutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/usbutils
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.8 2003/03/25 11:38:39 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.9 2003/06/04 20:46:59 hanno Exp $
+
+*usbutils-0.11-r1 (04 Jun 2003)
+
+ 04 Jun 2003; Hanno Boeck <hanno@gentoo.org> usbutils-0.11-r1.ebuild:
+ Changed ebuild to download most current usb.ids.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest
index 71505802b32f..3a70c084a9f3 100644
--- a/sys-apps/usbutils/Manifest
+++ b/sys-apps/usbutils/Manifest
@@ -1,5 +1,7 @@
-MD5 a0e3440fd9c1221b3b1605662130c754 ChangeLog 849
+MD5 ace9b0dcdcd0303c92c94f9b19d2be67 ChangeLog 1004
MD5 bd9c993168011b87f3ad672dc921e516 usbutils-0.11.ebuild 786
MD5 909a95445c4b3b9d33afc52ede2aa907 usbutils-0.9.ebuild 772
+MD5 472254e00d4900719cb4befefec782f3 usbutils-0.11-r1.ebuild 951
MD5 5513f7a6e7cd2707ec619a3885be6724 files/digest-usbutils-0.11 65
MD5 2164369bd1bd95109baae92b4d45fb65 files/digest-usbutils-0.9 64
+MD5 5513f7a6e7cd2707ec619a3885be6724 files/digest-usbutils-0.11-r1 65
diff --git a/sys-apps/usbutils/files/digest-usbutils-0.11-r1 b/sys-apps/usbutils/files/digest-usbutils-0.11-r1
new file mode 100644
index 000000000000..f192c47b55fa
--- /dev/null
+++ b/sys-apps/usbutils/files/digest-usbutils-0.11-r1
@@ -0,0 +1 @@
+MD5 05157bed61af65749f02713c10b8ef26 usbutils-0.11.tar.gz 229161
diff --git a/sys-apps/usbutils/usbutils-0.11-r1.ebuild b/sys-apps/usbutils/usbutils-0.11-r1.ebuild
new file mode 100644
index 000000000000..7064f3ced7f6
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-0.11-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.11-r1.ebuild,v 1.1 2003/06/04 20:46:59 hanno Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="USB enumeration utilities"
+SRC_URI="http://usb.cs.tum.edu/download/usbutils/${P}.tar.gz"
+HOMEPAGE="http://usb.cs.tum.edu/"
+KEYWORDS="~x86 ~ppc ~sparc ~hppa"
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${P}
+ mv usb.ids usb.ids.orig
+ wget http://www.linux-usb.org/usb.ids
+ if [ ! -f usb.ids ] ; then mv usb.ids.orig usb.ids ; fi
+}
+
+src_compile() {
+ # put usb.ids in same place as pci.ids (/usr/share/misc)
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --datadir=/usr/share/misc || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}