summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-09-02 23:03:23 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-09-02 23:03:23 +0000
commitbfc9fd6e6a2a45871a721e56671de987e80dfce6 (patch)
tree1567d7b15f4700f5591431611a2baa996b038962 /sys-apps/usbutils
parentnew revision with libusb* removed (diff)
downloadgentoo-2-bfc9fd6e6a2a45871a721e56671de987e80dfce6.tar.gz
gentoo-2-bfc9fd6e6a2a45871a721e56671de987e80dfce6.tar.bz2
gentoo-2-bfc9fd6e6a2a45871a721e56671de987e80dfce6.zip
new revision with libusb* removed
Diffstat (limited to 'sys-apps/usbutils')
-rw-r--r--sys-apps/usbutils/ChangeLog8
-rw-r--r--sys-apps/usbutils/Manifest5
-rw-r--r--sys-apps/usbutils/files/digest-usbutils-0.11-r21
-rw-r--r--sys-apps/usbutils/metadata.xml7
-rw-r--r--sys-apps/usbutils/usbutils-0.11-r2.ebuild48
5 files changed, 66 insertions, 3 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog
index dbd4a0053b12..187718a5669b 100644
--- a/sys-apps/usbutils/ChangeLog
+++ b/sys-apps/usbutils/ChangeLog
@@ -1,6 +1,12 @@
# 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.12 2003/08/07 09:26:46 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.13 2003/09/02 23:03:19 liquidx Exp $
+
+*usbutils-0.11-r2 (03 Sep 2003)
+
+ 03 Sep 2003; Alastair Tse <liquidx@gentoo.org> usbutils-0.11-r2.ebuild:
+ remove libusb* from usbutils. this is provided by dev-libs/libusb which is
+ actively maintained. no other distros include libusb* from usbutils
07 Aug 2003; Tavis Ormandy <taviso@gentoo.org> usbutils-0.11-r1.ebuild:
stable on alpha
diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest
index ba3533817738..c9e6498b9c88 100644
--- a/sys-apps/usbutils/Manifest
+++ b/sys-apps/usbutils/Manifest
@@ -1,6 +1,7 @@
-MD5 faa23937349e7cab54646aba08f0b354 ChangeLog 1305
+MD5 5144bc83c2b86bf74c3a9da9fb676cae ChangeLog 1561
+MD5 c5bef80db01935712c70875b74fd87b9 metadata.xml 276
MD5 5521f79d8fc8ab932f7be5c09bc0c9da usbutils-0.11-r1.ebuild 1063
-MD5 a83a06dd9d7103e695c66e5cf18da946 usbutils-0.11-r2.ebuild 1157
+MD5 ce7e22f8688e2e13919f7de0399bad5a usbutils-0.11-r2.ebuild 1183
MD5 9422ac19ea76d3fd377cd23f89fa01bd usbutils-0.11.ebuild 794
MD5 566a6010667754bf911774543f1aa38e usbutils-0.9.ebuild 780
MD5 5513f7a6e7cd2707ec619a3885be6724 files/digest-usbutils-0.11 65
diff --git a/sys-apps/usbutils/files/digest-usbutils-0.11-r2 b/sys-apps/usbutils/files/digest-usbutils-0.11-r2
new file mode 100644
index 000000000000..f192c47b55fa
--- /dev/null
+++ b/sys-apps/usbutils/files/digest-usbutils-0.11-r2
@@ -0,0 +1 @@
+MD5 05157bed61af65749f02713c10b8ef26 usbutils-0.11.tar.gz 229161
diff --git a/sys-apps/usbutils/metadata.xml b/sys-apps/usbutils/metadata.xml
new file mode 100644
index 000000000000..84eb41a5d2e8
--- /dev/null
+++ b/sys-apps/usbutils/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+<maintainer><email>liquidx@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/sys-apps/usbutils/usbutils-0.11-r2.ebuild b/sys-apps/usbutils/usbutils-0.11-r2.ebuild
new file mode 100644
index 000000000000..203f4815173b
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-0.11-r2.ebuild
@@ -0,0 +1,48 @@
+# 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-r2.ebuild,v 1.1 2003/09/02 23:03:19 liquidx Exp $
+
+inherit gnuconfig
+
+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 ~amd64 ~ppc ~sparc ~hppa ~alpha"
+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
+
+ use amd64 && gnuconfig_update
+ use alpha && gnuconfig_update
+}
+
+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
+
+ # we don't need libusb.* from usbutils because it conflicts
+ # with dev-libs/libusb
+ rm -rf ${D}/usr/lib
+ rm -rf ${D}/usr/include
+}