summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-12-23 08:04:18 +0000
committerNick Hadaway <raker@gentoo.org>2002-12-23 08:04:18 +0000
commitb3192286d5732098cc0474c2ed7e835fcf1530d9 (patch)
tree97c529ec62f3f705cb86e79697124969c590f410 /dev-libs/libusb
parentVersion bump. (diff)
downloadhistorical-b3192286d5732098cc0474c2ed7e835fcf1530d9.tar.gz
historical-b3192286d5732098cc0474c2ed7e835fcf1530d9.tar.bz2
historical-b3192286d5732098cc0474c2ed7e835fcf1530d9.zip
Version bump. Added DEBUGBUILD and doc use variable related code.
Please comment on bug #11512.
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r--dev-libs/libusb/ChangeLog11
-rw-r--r--dev-libs/libusb/files/digest-libusb-0.1.71
-rw-r--r--dev-libs/libusb/libusb-0.1.7.ebuild44
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog
index 1fff29de38e5..b51eafb025d1 100644
--- a/dev-libs/libusb/ChangeLog
+++ b/dev-libs/libusb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libusb
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.6 2002/12/13 10:56:29 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.7 2002/12/23 08:04:18 raker Exp $
+
+*libusb-0.1.7 (23 Dec 2002)
+
+ 23 Dec 2002; Nick Hadaway <raker@gentoo.org> libusb-0.1.7.ebuild,
+ files/digest-libusb-0.1.7 :
+ Version bump. Added DEBUGBUILD and doc use variable related code.
+ Please comment on bug #11512.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
@@ -8,8 +15,6 @@
23 Oct 2002; Spider <spider@gentoo.org> libusb-0.1.6a.ebuild :
New version by Robert Davis <rdavis@uniformcompany.com>
-
-
*libusb-0.1.5 (11 March 2002)
diff --git a/dev-libs/libusb/files/digest-libusb-0.1.7 b/dev-libs/libusb/files/digest-libusb-0.1.7
new file mode 100644
index 000000000000..3d7222c9ee07
--- /dev/null
+++ b/dev-libs/libusb/files/digest-libusb-0.1.7
@@ -0,0 +1 @@
+MD5 4c7abee86d8715bccb43428a500d2170 libusb-0.1.7.tar.gz 193075
diff --git a/dev-libs/libusb/libusb-0.1.7.ebuild b/dev-libs/libusb/libusb-0.1.7.ebuild
new file mode 100644
index 000000000000..e194b3e69edc
--- /dev/null
+++ b/dev-libs/libusb/libusb-0.1.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.7.ebuild,v 1.1 2002/12/23 08:04:18 raker Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Userspace access to USB devices"
+SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
+HOMEPAGE="http://libusb.sourceforge.net"
+
+DEPEND="virtual/glibc
+ doc? ( app-text/openjade )"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+src_compile() {
+
+ local myconf
+
+ use doc \
+ && myconf="--enable-build-docs" \
+ || myconf="--disable-build-docs"
+
+ [ -n "${DEBUGBUILD}" ] \
+ && myconf="${myconf} --enable-debug=all" \
+ || myconf="${myconf} --disable-debug"
+
+ econf ${myconf} || die
+
+ make || die
+
+}
+
+src_install () {
+
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS NEWS README
+
+ cd doc/html
+ use doc && dohtml *.html
+
+}